An Introduction to Virtual Hosting

One of the great features of Apache is its ability to host multiple Web sites, known as virtual hosts, on the same virtual server.

Virtual hosting allows you to provide an inexpensive, professional Web service to your clients. For example, assume that Acme Industries, a prospective client, wishes to develop a Web presence for as little money as possible. Your Freedom server offers the perfect solution. You can help Acme register or transfer the domain name "acme.com," so that it points to your IP address, and then host ""acme.com"" on your server. Visitors to the acme.com Web site will see only Acme's portion of your Freedom account, and will never know that the files actually reside in a directory of your Freedom account.

Despite some limitations (as documented in the next section), virtual hosting can provide you with a way to offer prospective clients a low cost solution for Web hosting, or host several of your own Web sites without the need of purchases separate servers for each site.

Virtual hosting works with either complete domain names, such as ""acme.com,"" or canonical domain names (also called cnames or subdomains) such as "support.acme.com." This means that you can provide virtual hosting not only for clients who have their own domain name, but those who want to ""piggyback"" off of one of your existing domains.

An important part of virtual hosting is having the domain names for the virtual hosts point to your IP address. Web.com will do this work for you for a one-time fee of $20.00. This does not include the domain name registration process, which is a separate process. Your Freedom server includes a feature known as ""wildcard DNS,"" which means that any canonical name you can think of for your domain name already points to your IP address and no DNS work needs to be done by us for you to use it as a virtual host.