lls 在* 80端口已经绑定的情况下,批量加域名到*80端口

首先,在IIS新建一个网站,绑定一个IP 

然后找到路径 

 C:WindowsSystem32inetsrvconfigapplicationHost.config   (不同服务器路径不同。要找到applicationHost.config)
然后编辑要添加的内容
<binding protocol="http" bindingInformation="*:80:bvxrv.men" />
<binding protocol="http" bindingInformation="*:80:www.bvxrv.men" />
..........................
.............................
找到要添加的位置

<site name="Default Web Site" id="1">
<application path="/">
<virtualDirectory path="/" physicalPath="%SystemDrive%inetpubwwwroot" />
</application>
<bindings>

<binding protocol="http" bindingInformation="*:80:bvxrv.men" />
<binding protocol="http" bindingInformation="*:80:www.bvxrv.men" />

此处为要添加的地方

........................................

</bindings>

然后保存!

------------------------------------------------------

 映射 通配符映射 加上.net2.0 

C:WindowsMicrosoft.NETFrameworkv2.0.50727aspnet_isapi.dll 
C:WindowsMicrosoft.NETFramework64v2.0.50727aspnet_isapi.dll
 
默认文档修改为:index.aspx
原文地址:https://www.cnblogs.com/paddygege/p/7069599.html