Marcell Kiss-Toth wrote:
Hi all,
I'm new to Tomcat (version 5.5) and having a Windows Server 2003.
Currently the Tomcat runs on port 8080. How can I host multiply domains
with Tomcat?
I've only done it before with Apache 2.
For example, I have www.homedomain.com and I'd like to have the following:
* webapps\ROOT -> www.homedomain.com
* webapps\mydomain.com -> www.mydomain.com
* webapps\myseconddomain.com -> www.myseconddomain.com
Firstly, you'll need to define a ROOT webapp for each host.
* webapps\homedomain.com\ROOT -> www.homedomain.com
* webapps\mydomain.com\ROOT -> www.mydomain.com
* webapps\myseconddomain.com\ROOT -> www.myseconddomain.com
You should Read The Fantastic Manual pages that describe how to
configure Tomcat Hosts and Contexts:
http://tomcat.apache.org/tomcat-5.5-doc/config/index.html
I mean all the domains available on port 80.
(If it's necessary, I can move Tomcat from port 8080 to 80)
You've half answered you're own question here.
Port 80 is the default for http services, so if you don't intend to
force people to use a port number in the URL then 80 it is.
p
Thanks for helping,
Marcell
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]