Aliasing localhost in Tomcat
Posted
by Saurabh
on Stack Overflow
See other posts from Stack Overflow
or by Saurabh
Published on 2009-10-19T09:31:54Z
Indexed on
2010/05/29
22:02 UTC
Read the original article
Hit count: 155
tomcat
I have a web application "quicker" deployed in Tomcat5.5 version. Usually, I run this application by using url, localhost/quicker and it loads the index.jsp file which is the home page of application. I would like same application to be run using url, www.local.dev.mydomain.com/quicker. Would it be possible by doing some configuration in server.xml or some other place? One way of doing this is could be, modify hosts file in windows as -
# 127.0.0.1 localhost
127.0.0.1 www.local.dev.mydomain.com
But, I want to this in tomcat manner if possible.
© Stack Overflow or respective owner