Virtual Hosting
With the explosion of interest in the Internet and the resulting increase in the number of Web sites, it is increasingly common to see a single machine acting as the server for more than one Web site. When multiple Web sites are provided on the same machine, it is referred to as virtual hosting. This section describes the different virtual hosting options that are available with the Apache Web server and shows examples of some basic virtual host setups.
There are a few different ways to provide more than one Web site from a machine. One way is to run multiple copies of the Web server, one for each site. However, this can be prohibitive in terms of machine resources. Supporting 20 Web sites requires 20 instances of the Web server, ...
Get Special Edition Using Linux®, Sixth Edition 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.