I am using one instance of Tomcat 5.5.9 to host about 6 different "sites" - your <Host name= attribute has to exactly match the way the host appears in URLs. I also found that I had to give an absolute path for appBase. Bill
I changed the appBase to an absolute path, but still not working...
What do you mean exactly when you say that the name attribute has to match the host name?
Also, do i have to remove the localhost entry that comes with the initial server.xml?
Author and all-around good cowpoke
Joined: Mar 22, 2000
I left the localhost Host entry because the Engine uses that as defaultHost
The name attribute has to match the host name you use in the URL that addresses that particular host. What you would use when building a URL with the protocol/host/port constructor. So if you want people to be able to use either www.mysite.com or mysite.com, you have to have a separate Host entry for each name.
So what happens when you try to start Tomcat from a command prompt? Surely there must be some errors if it is not happy with the Host configuration. Bill