IIS7下设置https主机名灰色无法修改
打开iis绑定域名时,点击绑定弹出绑定框,在选择类型为“https”的时候,主机名为灰色的无法填写 解决方法: \1. 选择https,在选择相应的SSL证书,点击确定 \2. 打开 C: \Windows\system32\inetsrv\config\applicationHost.config \3. 找到如下节点位置: <site name="hs.hsglaser.com" id="8"> <application path="/"> <virtualDirectory path="/" physicalPath="D:\web\hongshi" /> </application> <bindings> <binding protocol="http" bindingInformation="*:80:hs.hsglaser.com" /> <binding protocol="http" bindingInformation="*:80:www.hsglaser.com" /> <binding protocol="https" bindingInformation="*:443:" /> </bindings> </site> 以“hsglaser.com”域名为例 将“ ” 改为 “ ” 注意:因为这个是系统文件可也能直接修改不了