Virtual host not working in tomcat6

view story

http://stackoverflow.com – I am using Linux 12.04 Precise. I just have sudo rights on my machine. I have created a jsp website and tried to create virtual hosts on my machine so that the website url look distinguished like : www.myapp.com rather than So, after going through many articles on the internet. Like Virtual-hosting-how-to I have created an entry in server.xml like below for my virtual host <Engine name="Catalina" defaultHost="localhost"> <Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAwar (HowTos)