IIS equivalent of VirtualHost in Apache IIS equivalent of VirtualHost in Apache apache apache

IIS equivalent of VirtualHost in Apache


You want to use Host Headers in IIS - that link will lead to a nice how-to page.


Create a new virtual host:

iis manager --> (local computer) --> right-click Web Sites --> New --> Web Site

Check/change/add hostname information (the other hostname to recognize) on a virtual host:

iis manager --> (local computer) --> Web Sites --> right-click/properties on one of the sites --> Web Site --> Advanced --> "Multiple identities for this Web site"


In IIS 7, you will add in Bindings on the right side Actions column, Edit Site while the desired Site is selected.How to add Virtual Hosts in IIS