[笔记系列] IIS误删除Default Web Site 复原

1.到路径:C:\Windows\System32\inetsrv\Config
2.打开applicationHost.config
3.複製以下code

        <site name="Default Web Site" id="1">            <application path="/">                <virtualDirectory path="/" physicalPath="%SystemDrive%\inetpub\wwwroot" />            </application>            <bindings>                <binding protocol="http" bindingInformation="*:80:" />            </bindings>        </site>

https://drive.google.com/open?id=1K9NEcjfNvD9aEO5OJX6RveIdlK6pr2uV
遗失部分是绿色框框的部分,贴回去吧
4.重启iis就成功拉!


关于作者: 网站小编

码农网专注IT技术教程资源分享平台,学习资源下载网站,58码农网包含计算机技术、网站程序源码下载、编程技术论坛、互联网资源下载等产品服务,提供原创、优质、完整内容的专业码农交流分享平台。

热门文章