Virtual servers
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
Name-based virtual hosting has been made possible with the introduction of HTTP protocol version ...
Get Learning RHEL Networking now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.