Apache HTTP Server Version 2.0
Apache IP-based Virtual Host Support
See also: Name-based
Virtual Hosts Support
System requirements
As the term IP-based indicates, the server
must have a different IP address for each IP-based
virtual host. This can be achieved by the machine
having several physical network connections, or by use of
virtual interfaces which are supported by most modern operating
systems (see system documentation for details, these are
frequently called "ip aliases", and the "ifconfig" command is
most commonly used to set them up).
How to set up Apache
There are two ways of configuring apache to support multiple
hosts. Either by running a separate httpd daemon for each
hostname, or by running a single daemon which supports all the
virtual hosts.
Use multiple daemons when: