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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to