Flamer wrote:
> Scallica wrote:
>
>> Is it possible to use both Name and IP based virtual hosting simultaneously?
>> For example, I would like to host all of my websites under a single IP.
>> However, one of my sites needs its own separate IP address.
>>
>> Thanks,
>> Scallica
>
> yes, have a look for walkthroughs on vhosts. an ip address is bound to
> an adapter so if you have two network cards then yes that will work.
>
> Flamer.
>
you don't even need two physical network cards. It can be handled using
virtual networks such as
eth0
eth0:1
eth0:2
and so on..
here is an example of my ifconfig
eth0 Link encap:Ethernet HWaddr 00:60:97:5E:BF:F2
inet addr:69.xxx.x.xxx Bcast:69.xxx.x.239Mask:255.255.255.248
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:25690313 errors:0 dropped:0 overruns:0 frame:0
TX packets:25597500 errors:0 dropped:0 overruns:0 carrier:7
collisions:9200 txqueuelen:1000
RX bytes:3522135014 (3358.9 Mb) TX bytes:657038415 (626.6 Mb)
Interrupt:19 Base address:0xec00
eth0:1 Link encap:Ethernet HWaddr 00:60:97:5E:BF:F2
inet addr:69.xxx.x.236 Bcast:69.xxx.x.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:19 Base address:0xec00
eth0:2 Link encap:Ethernet HWaddr 00:60:97:5E:BF:F2
inet addr:69.xxx.x.237 Bcast:69.xxx.x.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:19 Base address:0xec00
>> Stay informed about: Name and IP Virtual Hosting