在服务器上设置本地网站.该网站test.skien.kommune.no映射到127.0.0.1该站点在IIS中配置,我添加了一个绑定.一切都工作了一个星期,但今天我突然收到此错误消息:
The following error was encountered while trying to retrieve the URL: http://test.skien.kommune.no/
Unable to determine IP address from host name "test.skien.kommune.no"
The DNS server returned:
Name Error: The domain name does not exist.
This means that the cache was not able to resolve the hostname presented in the URL. Check if the address is correct.
Your cache administrator is webmaster.
Run Code Online (Sandbox Code Playgroud)
hosts文件已配置 '127.0.0.1 test.skien.kommune.no'
为什么不在主机文件中使用本地dns-mapping?
小智 7
我发现代理设置是我的问题.
在Windows" 控制面板 "中打开" Internet选项 ",然后转到" 连接 "选项卡.单击" LAN设置 "按钮.
如果勾选" 使用代理服务器 ",这也可能是您的问题.如果本地主机域中存在句点,则代理会启动并将URL视为完全限定的域名(它将无法找到).
要排除它,请单击" 高级 "并将其添加到" 不使用代理... "列表中.
| 归档时间: |
|
| 查看次数: |
22518 次 |
| 最近记录: |