Virtual servers are a way for a single invocation of apache to serve multiple domain names. There are three ways to go about it, named based, port based, and address based. Port based is commonly used to serve HTTP and HTTPS from the same server. Address based virtual hosting is used primarily for backward compatibility to HTTP 1.0 clients, which don't transmit the desired hostname as part of the request. The most commonly used method of virtual hosting is named based, where multiple domain names share the same IP address (CNAME aliasing) and is commonly used by web hosting services to preserve IP space, and by SOHO's who wish to serve something like www.my_business.com and www.my_personal_page.net from the same server. One caveat is that named based virtual hosting cannot be used with SSL secure servers because of the way the SSL protocol works.
|