server DNS address could not be found - iis

sai kiran picture sai kiran · Dec 8, 2016 · Viewed 21.4k times · Source

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

Answer

Brandon Spilove picture Brandon Spilove · Dec 9, 2016

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.