Using Virtual Hosting

Your Red Hat Linux 6 Apache Web server can easily host multiple sites. The term for this is virtual hosting.

Very heavily visited Web sites need dedicated servers. In fact, it is usual to have a "farm" of many Web servers dedicated to the top 100 Web sites. But the run-of-the-mill Web site—however near and dear it may be to its creator's heart—is very different. It rarely generates enough traffic to use substantial resources on even a single Linux server.

This being the case, those responsible for hosting multiple Web sites—for example, many ISPs—tend to rely on virtual hosting.

To add a virtual host:

1.
Log on as root.
2.
Open the Linux Configuration applet.
3.
In the Apache Web Server section, click Virtual Domains. ...

Get Red Hat Linux 6: Visual QuickPro Guide 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.