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.app

相關文章
相關標籤/搜索