From: Eric Covener Date: Fri, 5 Jul 2013 15:29:35 +0000 (+0000) Subject: xform X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb2ee94d23f55cdafbd80f50f3b9d7f9ef4d909b;p=thirdparty%2Fapache%2Fhttpd.git xform git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1500044 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/vhosts/name-based.html.en b/docs/manual/vhosts/name-based.html.en index 63aea331690..79f7bccbde5 100644 --- a/docs/manual/vhosts/name-based.html.en +++ b/docs/manual/vhosts/name-based.html.en @@ -111,6 +111,18 @@ virtual hosts.

+

ServerName inheritance

+

It is best to always explicitly list a ServerName in every name-based virtual host.

+

If a VirtualHost doesn't specify + a ServerName, a server name will be + inherited from the base server configuration. If no server name was + specified globally, one is detected at startup through reverse DNS resolution + of the first listening address. In either case, this inherited server name + will influenced name-based virtual host resolution, so it is best to always + explicitly list a ServerName in every + name-based virtual host.

+
+

For example, suppose that you are serving the domain www.example.com and you wish to add the virtual host other.example.com, which points at the same IP address.