[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-security] VHOST over two IP's?
- Subject: Re: [cobalt-security] VHOST over two IP's?
- From: cobalt@xxxxxxxxxxxxx
- Date: Thu, 03 Oct 2002 09:04:59 +0100
- List-id: Mailing list for users to address network security on Cobalt products. <cobalt-security.list.cobalt.com>
On 2 Oct 2002 at 18:15, David Smulsky wrote:
> Is there a way to make a vhost listen to two IP's at once?
>
> Cause we are switching IP's, and wanted to have as little downtime as
> possiable.
>
> we use a raq550 btw..
Create a new virtual host with the second IP, then modify the
httpd.conf so that both the original and new vhost point to the same
directory:
<VirtualHost xxx.xxx.xxx.1>
...
DocumentRoot /home/sites/xxxx/web
...
</VirtualHost>
<VirtualHost xxx.xxx.xxx.2>
...
DocumentRoot /home/sites/xxxx/web
...
</VirtualHost>
Ian
--