From: Eric Covener Date: Fri, 5 Jul 2013 15:29:35 +0000 (+0000) Subject: xform X-Git-Tag: 2.5.0-alpha~5267 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9ecd6775445e2fcd31c336691f61c3d6e9620da5;p=apache 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 63aea33169..79f7bccbde 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.