tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: Does Tomcat http support subdomains?
Date Tue, 20 Oct 2009 20:19:02 GMT
> From: Jonathan Mast [mailto:jhmast.developer@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message