Yes:

NameVirtualHost 111.222.333.444

<VirtualHost www.mydomain.com>

server.xml:
<Host www.mydomain.com>

This is how I have it set up and it works for about 10 domains.

--jeff


> From: Glen Eustace <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> Date: Wed, 23 May 2001 05:28:13 GMT
> To: [EMAIL PROTECTED]
> Subject: Re: Setting up Virtual Hosts
> 
>> Apache:
>> <VirtualHost www.mydomain.com>
> 
>> server.xml:
>> <Host www.mydomain.com>
> 
>> In your config, you're using an IP in the Apache VirtualHost directive
> and a
>> hostname in your server.xml config. I have a feeling that may be causing
>> your problems. Try changing your Apache config to use the host name in
> the
>> VirtualHost directive, rather than the IPAddress and see if that makes a
>> difference.
> 
> Jeff, can you please confirm that you have the following directive ( with
> a different IP number of course )
> 
> NameVirtualHost 210.55.214.169
> 
> in your apache config, and that you have multiple hosts using that same
> IP number, and that these hosts are the same ones in you tomcat
> server.xml config. My experimentation would still suggest that tomcat is
> not doing named virtual hosts.
> 
> Glen.
> 

Reply via email to