Mobile app version of vmapp.org
Login or Join
Bryan171

: Redirect to subdomain port 8080 I have my domain registered and running. I have installed lifray which is running on tomcat 7, my site url is iloveliferay.com:8080 and I want this to be at

@Bryan171

Posted in: #Apache #Redirects #Tomcat #Vps

I have my domain registered and running. I have installed lifray which is running on tomcat 7, my site url is iloveliferay.com:8080 and I want this to be at themes.iloveliferay.com, which file I need to change to make this possible?

I have VM cloude hosting and I have root access.

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Bryan171

2 Comments

Sorted by latest first Latest Oldest Best

 

@Michele947

Edit on http.conf

<VirtualHost xxx.xxx.xxx.xxx:80>
ServerName mail.domain.com
RedirectPermanent / domain.com:port
</VirtualHost>

10% popularity Vote Up Vote Down


 

@Carla537

You may want to look at the info provided here :
www.servletworld.com/tomcat/howto-change-tomcat-port.html
(Essential content inserted here as that link is down in Feb 2013.)
Look for the section in server.xml like this and change the port to 80.

<connector port="8080" protocol="HTTP/1.1"
connectiontimeout="20000"
redirectport="8443"/>

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme