OK.  Let's see how I can implement this.
Say, I have registered two domain names www.website1.com mapped to IP1 and www.website2.com mapped to IP2.

I have my tomcat installed on localhost with two <Host> elements, www.website1.com and www.website2.com and applications installed as described in documentation.

when I type www.website1.com in my browser, how does that request gets routed to <Host1> on my local tomcat installation?

-Rao



From: "Caldarale, Charles R" <[EMAIL PROTECTED]>

You don't need multiple CATALINA_BASE settings, nor do you need two
<Connector> elements; instead, use two <Host>s.  Each <Host> must have a
unique name that matches the DNS name of the IP addresses you wish to
segregat.  Also, each <Host> should have a unique appBase attribute
value, and each webapp would be deployed only in the corresponding
appBase.  Look at:
http://tomcat.apache.org/tomcat-5.5-doc/config/host.html
for more information.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_________________________________________________________________
Don’t miss your chance to WIN 10 hours of private jet travel from Microsoft® Office Live http://clk.atdmt.com/MRT/go/mcrssaub0540002499mrt/direct/01/


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to