server - How to host java app for a domain homepage -
i have application developed in java , located in host http://myhost.com:8080/myapp. using bluehost hosing service.
i want access app when hitting http://myhost.com..
i went lot of articles in confused lot. there no clear documentations this.
how this? can assist me?
use apache server proxy server use server name ( http://myhost.com) , redirect request running app url ( http://myhost.com:8080/myapp). ie port forwarding concept.
like,
use following in apache configuration file.
 <virtualhost *:80>        proxypreservehost on       proxyrequests off       servername www.myhost.com       serveralias myhost.com       proxypass / http://myhost.com:8080/myapp/       proxypassreverse / http://myhost.com:8080/myapp/     </virtualhost>  to acheive need configure many things.so read appropriate documentation.
Comments
Post a Comment