From 9ecd6775445e2fcd31c336691f61c3d6e9620da5 Mon Sep 17 00:00:00 2001
From: Eric Covener
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.
--
2.40.0