> From: Jonathan Mast [mailto:jhmast.develo...@gmail.com]
> Subject: Re: Does Tomcat http support subdomains?
> 
> In the server.xml file, add:
> <Host name="foo.yoursite.com">
>     <Context path="" docBase="/your/path/here/foo_site" />
> </Host>

Please don't recommend placing <Context> elements in server.xml; it's an 
outdated practice that should be discouraged, not encouraged.

Besides additional <Host> elements are counter to the desired result: reading 
the original link demonstrates that the idea is to have multiple DNS names 
targeting the host.

 - 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 unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to