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

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

IIS中的效果:

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

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

Not Found


HTTP Error 404. The requested resource is not found.