简体   繁体   English

将网站添加到本地iis。找不到服务器错误

[英]adding website to local iis. getting Server not found error

I am adding a web application to my local iis. 我正在向我的本地iis添加一个Web应用程序。 I added the path to the folder with the bin is inside. 我在bin里面添加了文件夹的路径。 I specified the application pool and applied my login credentials. 我指定了应用程序池并应用了我的登录凭据。 When I hit test settings, everything passed. 当我点击测试设置时,一切都通过了。 When I typed mysite.local on the browser, I get the following. 当我在浏览器上输入mysite.local时,我得到以下内容。 I also clicked on Browse Website and get the same error. 我也点击了浏览网站并得到了同样的错误。 This is on my personal PC. 这是在我的个人电脑上。

Server not found 找不到服务器

Firefox can't find the server at www.comicrage.local. Firefox无法在www.comicrage.local找到服务器。

Check the address for typing errors such as ww.example.com instead of www.example.com If you are unable to load any pages, check your computer's network connection. 检查输入错误的地址,例如ww.example.com而不是www.example.com如果您无法加载任何页面,请检查计算机的网络连接。 If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web. 如果您的计算机或网络受防火墙或代理保护,请确保允许Firefox访问Web。

Have you added mysite.local to the hosts file? 你有没有将mysite.local添加到hosts文件中? If not, add the following to C:\\Windows\\System32\\Drivers\\etc\\hosts. 如果没有,请将以下内容添加到C:\\ Windows \\ System32 \\ Drivers \\ etc \\ hosts。

127.0.0.1 mysite.local

The hosts file is responsible for any local overrides that should take precedence over DNS. hosts文件负责应优先于DNS的任何本地覆盖。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM