无法找到服务器DNS地址 - iis [英] server DNS address could not be found - iis
问题描述
我在IIS中添加了新网站
当我尝试在浏览器中打开网站时,它显示DNS错误
试图从5天内解决它,但我无法解决这个问题。请帮助
我使用的是Windows 10操作系统
因为您的浏览器正在查询的DNS服务器无法识别主机名查找IP地址。你可以通过在c:\windows\system32\drivers\etc\hosts(在这个文件上没有文件扩展名)编辑你的hosts文件来解决这个问题。以下是解释如何编辑此文件的链接: http://www.howtogeek.com/howto/27350/beginner-geek-how-to-edit-your-hosts-file/
一旦你进入你的hosts文件,为你的本地网站添加一个条目,如下所示:
127.0.0.1 admin.vdeliver-本地
保存该文件,然后清除浏览器的缓存,然后您应该可以访问该网站。
I added new site in IIS
When I'm trying open site in browser it is showing DNS error
trying to resolve it since 5 days but I'm unable to solve this issue. please help
I'm using windows 10 OS
It's because the host name is not recognized by the DNS server that your browser is querying looking for the IP address. You can get around this by editing your hosts file at c:\windows\system32\drivers\etc\hosts (there is no file extension on this file). Here's a link explaining how to edit this file: http://www.howtogeek.com/howto/27350/beginner-geek-how-to-edit-your-hosts-file/
Once you get into your hosts file, add an entry for your local website like so:
127.0.0.1 admin.vdeliver-local
Save the file, then clear your browser's cache and then you should be able to visit the site.
这篇关于无法找到服务器DNS地址 - iis的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!