From 0ee969e985e1969204090526d0292dc2fedfd602 Mon Sep 17 00:00:00 2001
From: Joshua Slive
For example, suppose that both www.domain.tld and
-www.otherdomain.tld point at an IP address
-that the server is listening to. Then you simply add the following
-to httpd.conf:
If you are adding virtual hosts to an existing web server, you
+must also create a <VirtualHost> block for the existing host.
+The ServerName and DocumentRoot included in
+this virtual host should be the same as the global
+ServerName and DocumentRoot. List this
+virtual host first in the configuration file so that it will act as
+the default host.
For example, suppose that you are serving the domain
+www.domain.tld and you wish to add the virtual host
+www.otherdomain.tld, which points at the same IP address.
+Then you simply add the following to httpd.conf:
NameVirtualHost *
--
2.47.3