You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Werner van Mook <we...@connecties.com> on 2004/06/11 09:34:12 UTC
virtual hosting - no apache
Hi All,
I want tomcat to serve multiple domains.
Say I have two domains www.karnhuis.nl and www.connecties.com
They both have a different web site. (no alias).
I would like tomcat to serve both sites.
How can I accomplish this?
I tried this in my server.xml :
<Server .....>
<Service name="Catalina">
<Connector port 80 ..... />
<Engine name="Catalina" defaultHost="localhost" debug="0" >
<Host name="localhost" debug="0" appBase="webapps">
</Host>
<Host name="www.karnhuis.nl" debug="0"
appBase="/some/dir/not/in/webApps">
</Host>
</Engine>
</Service>
</Server>
If I have a look at the manager application I can't see www.karnhuis.nl.
I can't find any reference to www.karnhuis.nl in any of the tomcat
logfiles.
So what am I doing wrong?
I don't want to use apache in front of tomcat.
Kind Regards
Werner van Mook
Java Lead Developer / Trainer
Connecties Voor Internet BV i.o.
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org