File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes how to hide application name in url Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "how to hide application name in url" Watch "how to hide application name in url" New topic
Author

how to hide application name in url

Anand Gajjar
Ranch Hand

Joined: Feb 20, 2011
Posts: 31

i deployed my application on tomcat server.
but url appear in browser is like "www.mydomain.com/applcation_name".
now i want to hide this application name and only want to appear website name.
need help


do or die..!!!
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42365
    
  64
Install the web app in the ROOT context.


Ping & DNS - my free Android networking tools app
Anand Gajjar
Ranch Hand

Joined: Feb 20, 2011
Posts: 31

How can i put this app. In root context. I deployed my app. Using parallel plesk panel. On panel i have only browse button to deploy on tomcat..
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42365
    
  64
In Tomcat the ROOT web app directory is in the TOMCAT_HOME/webapps directory, next to all the other web apps.
Oliver Zampieri
Greenhorn

Joined: Feb 24, 2011
Posts: 1
You want to set up a virtual host.

The documentation in tomcat is quite exhaustive for this:
http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html


Oliver
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to hide application name in url