Mac OS X Server: How to Set Up Virtual Hosts

This documents describes how to set up virtual hosts in Mac OS X Server 10.0 through 10.2. Sometimes serving virtual hosts is referred to as a multi-domain feature. Name-based virtual hosts have been used since the HTTP 1.1 standard, and allow a server with a singe IP address to host multiple Web sites. IP-based virtual hosts work with the HTTP 1.0 standard and allow a server with multiple IP addresses to serve a Web site for each IP.
To set up virtual hosts

In order to serve a domain as well as host in that domain, you need to configure each as a separate name-based virtual host. For example, if you are setting up www.example.com and you want visitors entering example.com to get to your Web site, you must:
Published Date: Oct 7, 2016