A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java 8 in Action
this week in the
Tomcat5.5 virtual hosts
Joined: Jun 12, 2005
Mar 10, 2006 10:22:00
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.
Author and all-around good cowpoke
Joined: Mar 22, 2000
Mar 11, 2006 06:45:00
I got multiple virtual hosts working in
5.5.9 - a typical entry looks like:
<Host name="www.wbrogden.com" appBase="c:\Servers\Hosts\wbrogden" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false"> </Host>
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.
Java Resources at
I agree. Here's the link:
subject: Tomcat5.5 virtual hosts
Setting up web sites
Different applications in the same context-root name
EAR deployed in websphere 6.1 but URL is not working ................
How to change virtual host from http://localhost/test to http://www.fakedomain.com/?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014