tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joe Shevland" <>
Subject RE: name based virtual hosts for many domains
Date Thu, 05 Oct 2000 01:40:57 GMT
I've got a similar setup (though nowhere near as many vhosts), and you'll run into problems
with Tomcat 3.1. Each virtual host will need its own instance of Tomcat running, which is
not possible with 100+ vhosts unless you've got a seriously grunty box :)

Here's an example of one:

<VirtualHost w.x.y.z>
   DocumentRoot /www/
   ApJServMount /http ajpv12://localhost:8007/root

Each vhost will require the ApJServMount to point to a differing instance of the Tomcat application;
I have one on ports 8007, 8008, etc ...

But, Tomcat 3.2b and beyond have support for virtual hosts and from the sounds of it are faster
and more stable, so you should be investigating these perhaps.


> -----Original Message-----
> From: Dave Thomas - Geek For Hire Inc []
> Sent: Thursday, October 05, 2000 12:18 PM
> To: Tomcat
> Subject: name based virtual hosts for many domains
> I need to setup Apache 1.3.12 and Tomcat 3.1 to support many name based
> virtual hosts. (100+)
> I have much experience with this on Apache but have never had to use name
> based v-hosts with Tomcat. Can tomcat support this without a problem? Any
> input on potential problems is greatly appreciated.
> Dave Thomas

View raw message