You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Morten Andersen <bl...@blobcom.com> on 2006/01/23 09:43:04 UTC

How to set up tomcat with multihoming?

How do I use multihoming within tomcat?

I need to serve several domains each with a webapplication.

How is that done?

Regards

Morten Andersen

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: How to set up tomcat with multihoming?

Posted by Markus Schönhaber <ma...@schoenhaber.de>.
Morten Andersen wrote:
> I've read that but still I'm pretty lost
>
> I've figured that I can create a <Host> element in the server.xml, but

Create a <Host> for each of the domains you have in server.xml.

> the Tomcat documentation doesn't really help me much more. It mentions
> the option to add files in the conf/[Engine]/[Appname] folder, but what
> should the file name be and how should it be structured?

make that read: conf/[Enginename]/[Hostname]
There you can configure the WebApps for the individual 
<Host>s you have.
http://tomcat.apache.org/tomcat-5.5-doc/config/context.html

> Please provide a few examples. Then I'll probably be able to figure out
> how to change the example to my settings.

The example is the <Host> that's in server.xml by default.

> Markus Schönhaber skrev:
> > Morten Andersen wrote:
> >> How do I use multihoming within tomcat?
> >>
> >> I need to serve several domains each with a webapplication.
> >>
> >> How is that done?
> >
> > http://tomcat.apache.org/tomcat-5.5-doc/config/host.html
> >
> > Regards
> >   mks
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> > For additional commands, e-mail: users-help@tomcat.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: How to set up tomcat with multihoming?

Posted by Morten Andersen <bl...@blobcom.com>.
I've read that but still I'm pretty lost

I've figured that I can create a <Host> element in the server.xml, but
the Tomcat documentation doesn't really help me much more. It mentions
the option to add files in the conf/[Engine]/[Appname] folder, but what
should the file name be and how should it be structured?

Please provide a few examples. Then I'll probably be able to figure out 
how to change the example to my settings.

Thanks

Morten


Markus Schönhaber skrev:
> Morten Andersen wrote:
>   
>> How do I use multihoming within tomcat?
>>
>> I need to serve several domains each with a webapplication.
>>
>> How is that done?
>>     
>
> http://tomcat.apache.org/tomcat-5.5-doc/config/host.html
>
> Regards
>   mks
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: How to set up tomcat with multihoming?

Posted by Markus Schönhaber <ma...@schoenhaber.de>.
Morten Andersen wrote:
> How do I use multihoming within tomcat?
>
> I need to serve several domains each with a webapplication.
>
> How is that done?

http://tomcat.apache.org/tomcat-5.5-doc/config/host.html

Regards
  mks

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org