> From: Mark Shifman [mailto:mark.shif...@yale.edu]
> Subject: Re: canonical hostnames for tomcat server
> 
> host name aliases may help
> http://tomcat.apache.org/tomcat-6.0-doc/config/host.html#Host%20Name%20Aliases

I don't think aliases will do it.  Look at virtual hosting in Tomcat:
http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html

Set up an additional <Host> with a name attribute of "portal.example.com" with 
an appBase that points to the webapps you want to use with that domain.  Any 
requests that do not match that specific domain will be handled by the 
<Engine>'s defaultHost, which you can leave as "localhost".

 - 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