You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Didier McGillis <co...@hotmail.com> on 2004/11/04 18:27:07 UTC
two domains, one site
If I have two domains pointing to the same webapp (long story on why two
domains). Do I need to have two Hosts defined inside the container
<Engine ...
<Host name="localhost" ...
or
<Host name="www.domain.com" ...
<Host name="www.domain.us" ...
_________________________________________________________________
Don't just Search. Find! http://search.sympatico.msn.ca/default.aspx The new
MSN Search! Check it out!
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: two domains, one site
Posted by Andoni <an...@eurokom.ie>.
Hi,
No, you only need the one host and then an <alias></alias> tag with the
other domain.
HTH,
Andoni.
PS: Ref is here:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/host.html#Host%20Name%20Aliases
A.
----- Original Message -----
From: "Didier McGillis" <co...@hotmail.com>
Newsgroups: gmane.comp.jakarta.tomcat.user
Sent: Thursday, November 04, 2004 5:27 PM
Subject: two domains, one site
> If I have two domains pointing to the same webapp (long story on why two
> domains). Do I need to have two Hosts defined inside the container
>
> <Engine ...
>
> <Host name="localhost" ...
>
>
> or
> <Host name="www.domain.com" ...
> <Host name="www.domain.us" ...
>
> _________________________________________________________________
> Don't just Search. Find! http://search.sympatico.msn.ca/default.aspx The
new
> MSN Search! Check it out!
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org