Windows IIS HTTPS绑定主机头方法

发布时间:2000/7/9 13:30:02 打印 字号:

IIS下面默认HTTPS绑定是无法指定主机头的,但我们可以通过手工修改IIS配置来实现主机头绑定。


打开文件C:\Windows\system32\inetsrv\config\applicationHost.config


定位到如下位置:

<bindings>

<binding protocol="https" bindingInformation="*:443" />

<binding protocol="http" bindingInformation="*:80:www.gworg.com" />

</bindings>


找到HTTPS的配置,修改为:

<binding protocol="https" bindingInformation="*:443:www.gworg.com" />