Differences between version 2 and revision by previous author of NameVirtualHosting.
Other diffs: Previous Major Revision, Previous Revision, or view the Annotated Edit History
Newer page: | version 2 | Last edited on Wednesday, July 27, 2005 5:25:15 pm | by JohnMcPherson | Revert |
Older page: | version 1 | Last edited on Saturday, June 19, 2004 3:29:48 pm | by GreigMcGill | Revert |
@@ -1,6 +1,7 @@
The process of virtually hosting multiple websites on a single IP address by using the requested name in the [HTTP] header.
+----
An example for [Apache] would be:
in httpd.conf:
@@ -25,4 +26,6 @@
CustomLog /var/log/apache/example2.com-access.log combined
ErrorLog /var/log/apache/example2.com-error.log
</VirtualHost>
</verbatim>
+
+The Name or IP used in the ~NameVirtualHost directive must be the same name or ip used in each ~VirtualHost.