Tomcat assistance desperately needed

Ken's picture

we have a Turnkey Tomcat installation using basic config i.e. / = localhost

we need to add a virtual host, such that new hostname 'new.newdomain.com' points to 

existing webapp located at  /newdomain (in webapps list)

this is a 2 line change in Apache httpd.conf but the virtual hosts manager cannot be made to work correctly and we do not know what we are doing wrong. Help??

Timeout's picture

If you are using Apache Tomcat 11.2

go to /var/lib/tomcat6/webapps/ROOT and modify index.html like the following.

<head>
<meta http-equiv="REFRESH" content="0;url=http://www.the-domain-you-want-to-redirect-to.com"></head>
 

T.

Post new comment