> From: Mark Shifman [mailto:[email protected]]
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to