tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Mast <jhmast.develo...@gmail.com>
Subject Re: Does Tomcat http support subdomains?
Date Tue, 20 Oct 2009 20:13:42 GMT
If you by subdomains you mean "foo.yoursite.com", "bar.yoursite.com" and so
on, then of course Tomcat supports that.

In the server.xml file, add:

<Host name="foo.yoursite.com">
    <Context path="" docBase="/your/path/here/foo_site" />
</Host>




On Tue, Oct 20, 2009 at 4:03 PM, Tony Anecito <adanecito@yahoo.com> wrote:

> Hi Chuck,
>
> I am still a newbe at this concept but here is a link that mentions Apache
> Web Server setup in addition to DNS you mentioned. They do add Virtual Hosts
> setup to support and I am not sure for Tomcat what would be needed to do
> this.
>
> http://content.websitegear.com/article/subdomain_setup.htm
>
> Regards,
> -Tony
>
> --- On Tue, 10/20/09, Caldarale, Charles R <Chuck.Caldarale@unisys.com>
> wrote:
>
> > From: Caldarale, Charles R <Chuck.Caldarale@unisys.com>
> > Subject: RE: Does Tomcat http support subdomains?
> > To: "Tomcat Users List" <users@tomcat.apache.org>
> > Date: Tuesday, October 20, 2009, 1:46 PM
> > > From: Tony Anecito [mailto:adanecito@yahoo.com]
> > > Subject: Does Tomcat http support subdomains?
> > >
> > > Does anyone know if Tomcat supports subdomains for its
> > or the APR http
> > > function?
> >
> > I'm confused; what's there to support?  The primary
> > thing you need is DNS resolution of the different names,
> > insuring that the resolved IP addresses all target your
> > server.  Everything else is browser, not server,
> > related.
> >
> >  - Chuck
> >
> >
> > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR
> > OTHERWISE PROPRIETARY MATERIAL and is thus for use only by
> > the intended recipient. If you received this in error,
> > please contact the sender and delete the e-mail and its
> > attachments from all computers.
> >
> >
> >
> > ---------------------------------------------------------------------
> > 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
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message