Chapter 5. Virtual Hosting

This chapter explains how to host multiple websites with a single instance of the Apache server, using both IP-address–based and name-based virtual hosting. It also covers other topics related to providing hosting for multiple users, such as home directories and per-directory configuration files.

What Is Virtual Hosting?

Virtual hosting is a feature provided by most modern web servers that allows you to serve multiple websites, each one identified by one or more domains, using a single instance of a server. This provides for a centralized administration and an efficient use of system resources. Many commercial web hosting providers are able to provide service to hundreds of customers using a single server instance instead ...

Get Apache Phrasebook 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.