apache on multiple IP address

Hi,

My server has only 1 eth card.

So I configured it to have multiple ip like this :

#second ip
ifconfig eth0:0 76.96.207.182 netmask 255.255.255.240 broadcast 76.96.207.191

#third ip
ifconfig eth0:1 76.96.207.183 netmask 255.255.255.240 broadcast 76.96.218.191

Then, in the apache httpd.conf I added :

Listen 127.0.0.1:80
Listen 76.96.207.182:80
Listen 76.96.207.183:80

This should be ok, right ?

Why my virtual domain is not working anymore ...

If I remove Listen 76.96.207.183:80 then it works fine.

Virtual domain setting is like this :

NameVirtualHost *:80
<VirtualHost *:80>
</VirtualHost>

Should I change the * to be IP address ?

 

 

 

 

Top