Caldarale, Charles R wrote:
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
I have configured the domain in the server.xml. Localhost is working
correctly, however I get a blank page for the lately specified domain
(both version with and without www - I also used <Alias> tag).
I copied the localhost <Host> section and replaced the "localhost" value
to my domain name. Already created the folders so on. Have no errors,
just getting a blank page.
The ROOT folder is the same as in the top ROOT folder.
What could be the problem?
Thanks,
Marcell