国产精品一区二区av_亚洲欧美激情另类校园_欧一区二区三区_四虎在线精品

IIS7 https無法綁定主機頭,顯示灰色

據(jù)了解,IIS7下面默認(rèn)HTTPS綁定是無法指定主機頭的,但我們可以通過手工修改IIS配置來實現(xiàn)主機頭綁定。

打開C:\Windows\system32\inetsrv\config\applicationHost.config

定位到如下位置:
<bindings>
<binding protocol="https" bindingInformation="*:443" />
<binding protocol="net.tcp" bindingInformation="808:*" />
<binding protocol="net.pipe" bindingInformation="*" />
<binding protocol="net.msmq" bindingInformation="localhost" />
<binding protocol="msmq.formatname" bindingInformation="localhost" />
<binding protocol="http" bindingInformation="*:80:www.22.cn" /> </bindings>
找到https的配置項目行,修改為: 
<binding protocol="https" bindingInformation="*:443:www.www.22.cn" /> 
注意這里的www.22.cn要換成你自己的域名,之后保存即可。