server DNS address could not be found - iis

99封情书 提交于 2019-12-08 19:23:33

问题


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


回答1:


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.



来源:https://stackoverflow.com/questions/41033434/server-dns-address-could-not-be-found-iis

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!