server DNS address could not be found - iis

2019-06-17 03:32发布

I added new site in IIS

enter image description here


When I'm trying open site in browser it is showing DNS error enter image description here

trying to resolve it since 5 days but I'm unable to solve this issue. please help

I'm using windows 10 OS

1条回答
The star\"
2楼-- · 2019-06-17 03:53

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.

查看更多
登录 后发表回答