02/03/10 Virtual hosts - invole running a single Apache instance but serving different Web sites from a single configuration - clients identify the Web sites by their hostnames - Two approaches - IP-based virtual hosts: where each hostname is assigned a different IP address - Name-based virtual hosts: where each of the hostnames shares a single IP address IP-based virtual hosts - Multiple IP addresses - Install mutlipe network cards and E.g 143.239.75.211 eth0 192.168.1.1 eth1 127.0.0.1 lo0 - Or IP aliasing/multihoming - modern platforms support the ability to have multiple IP addresses assigned to the same netword card E.g. 143.239.75.211 eth0:1 143.239.75.212 eth0:2 143.239.75.213 eth0:3 - Each web site will have its own IP address - How to configure Apache