IIS https绑定主机头方法 [可实现禁止直接通过IP访问及“IIS中绑定多个https(但需要多个IP地址)”]

步骤:

  1. 打开:%systemroot%\SYSTEM32\inetsrv\config\
  2. 打开:applicationHost.config
  3. 查找:<binding protocol="https"
  4. bindingInformation="IP地址:443:这里填入域名" /> 

IIS中的效果:

  

 

通过“https://IP”访问的效果:

Not Found


HTTP Error 404. The requested resource is not found.

 

posted @ 2018-04-12 14:17  article  阅读(462)  评论(0编辑  收藏  举报