[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-security] VHOST over two IP's?



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
--