diff --git a/docs/manual/vhosts/ip-based.xml b/docs/manual/vhosts/ip-based.xml index e1ea4912a2..a526c63250 100644 --- a/docs/manual/vhosts/ip-based.xml +++ b/docs/manual/vhosts/ip-based.xml @@ -31,13 +31,21 @@
System requirements

As the term IP-based indicates, the server - must have a different IP address for each IP-based + must have a different IP address/port combination 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).

+ most commonly used to set them up), and/or using multiple + port numbers.

+ +

In many cases, name-based + virtual hosts are more convenient, because they allow + many virtual hosts to share a single address/port. + See Name-based vs. IP-based + Virtual Hosts to help you decide. +

diff --git a/docs/manual/vhosts/name-based.xml b/docs/manual/vhosts/name-based.xml index e3453b0722..3d1b40a66a 100644 --- a/docs/manual/vhosts/name-based.xml +++ b/docs/manual/vhosts/name-based.xml @@ -35,9 +35,11 @@
Name-based vs. IP-based Virtual Hosts -

IP-based virtual hosts use the IP address of the connection to +

IP-based virtual hosts use the IP address of the connection to determine the correct virtual host to serve. Therefore you need to - have a separate IP address for each host. With name-based virtual + have a separate IP address for each host.

+ +

With name-based virtual hosting, the server relies on the client to report the hostname as part of the HTTP headers. Using this technique, many different hosts can share the same IP address.

@@ -52,7 +54,8 @@ using IP-based virtual hosting: