vinoth Robert wrote:hi
i created a host in server.xml as you said.
i have created the dir "www" then i placed the mysite.com.war file in www.
mysite.com dir is created automatically.
then i created Root dir in "mysite.com".
but its not working when i call "http://mysite.com/ ".
is it correct? if wrong how to call it in browser?
When you use a WAR file like mysite.com.war, then the name of the application will be mysite.com - this means that it should be called like this:
http://sitename/mysite.com
What I wrote is that you put a ROOT (in uppercase) folder in (depending on what you've written in Host->appBase) www/sitename.com, and this ROOT folder will act as your web application available at /.
The only thing you do with this configuration is to mirror the default webapps folder, where you also have a ROOT folder available at /, and then can install additional web application next to the ROOT folder.