wood burning stoves 2.0*
The moose likes Tomcat and the fly likes Tomcat5.5 virtual hosts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat5.5 virtual hosts" Watch "Tomcat5.5 virtual hosts" New topic
Author

Tomcat5.5 virtual hosts

Ali Ekber
Ranch Hand

Joined: Jun 12, 2005
Posts: 41
I need to set-up few virtual hosts on Tomcat5.5. Anybody knows any resources that show how to do this? I have done this on Tomcat4.1, but it seems like 5.5 has a different set up. Thanks.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12760
    
    5
I got multiple virtual hosts working in Tomcat 5.5.9 - a typical entry looks like:

Note that if I wanted both "www.wbrogden.com" and "wbrogden.com" to work, it means a separate <Host entry for each. Be sure you define a defaultHost in the <Engine element.
Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat5.5 virtual hosts
 
Similar Threads
EAR deployed in websphere 6.1 but URL is not working ................
IP Address
Setting up web sites
Different applications in the same context-root name
How to change virtual host from http://localhost/test to http://www.fakedomain.com/?