June 2015
Intermediate to advanced
216 pages
4h 48m
English
Apache has the capability to support multiple sites from the same server instance. This gives great flexibility, and at the same time, ease of management. This flexibility is known as virtual hosting. There are three basic ways of running virtual hosting with Apache:
|
Name-based |
This uses different names for each site and a common IP address, probably the most popular form of virtual hosting |
|
IP-based |
This uses a different IP address for each site |
|
Port-based |
This uses individual port numbers for each site |
We will look at all three of the methods and configurations within the httpd.conf required to implement each method.
Name-based virtual hosting has been made possible with the introduction of HTTP protocol version ...