> From: Marcell Kiss-Toth [mailto:[EMAIL PROTECTED] 
> Subject: More domains
> 
> Currently the Tomcat runs on port 8080. How can I host 
> multiply domains with Tomcat?

Use one <Host> element for each domain. They will all share the same
<Connector> elements, since they're all part of the same <Engine>.

Define a separate appBase directory for each <Host>, and put the default
app for each domain in the respective appBase as the ROOT directory (or
ROOT.war file).

Check here for details:
http://tomcat.apache.org/tomcat-5.5-doc/config/host.html

You don't need httpd to to this - just configure the <Connector> for
port 80 instead of 8080.

 - 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]

Reply via email to