IIS equivalent of VirtualHost in Apache

后端 未结 4 1234
Happy的楠姐
Happy的楠姐 2020-12-09 19:16

Is there an equivalent to Apache\'s VirtualHost for IIS? We want to be able to run multiple websites from one IP and address them with different DNS names.

i.e. I h

4条回答
  •  有刺的猬
    2020-12-09 19:18

    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"

提交回复
热议问题