Hi Jonathon

I got stuck with a DNS problem that prevents me from testing this
properly, but it appears to work fine for me.

All you need is

NameVirtualHost your.ip.1:80
NameVirtualHost your.ip.2:80
# etc

<VirtualHost  your.ip.1>
ServerName www.cust1.com
...
</VirtualHost>

<VirtualHost  your.ip.1>
ServerName www.cust3.com
...
</VirtualHost>

<VirtualHost  your.ip.2>
ServerName www.someothercust.com
...
</VirtualHost>

and so on

To be clear, my setup before the test just had a bunch of name based
virtual ips using your.ip.1:80 (and :443 actually). Since I have other IPs
handy, I made an alias for another IP, ifuped it, and added the

NameVirtualHost your.ip.2:80
<VirtualHost  your.ip.2>
ServerName www.someothercust.com
...
</VirtualHost>

portions above. I tested it with lynx http://your.ip.2 but because of the
aformentioned DNS snag, I couldn't test lynx http://www.someothercust.com.

I'm quite confident it will work though

hth
charles

On Tue, 12 Dec 2000, Jonathan Wilson wrote:

> Howdy,
> 
> We're trying to have our Hosting company load balance a site for us. One of the 
>servers has name based virtual hosts (right now it is not an option to get more IPs). 
>Our ISP says we can mix name based virtual hosts with IP by leaving out the 
>"NameVirtualHost" directive but that does NOT work - not at all.
> 
> Does anyone know if you can mix IP based on name based virtual hosts on one server? 
>And if so, what needs to be done?



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to