找不到服务器 DNS 地址 - iis [英] server DNS address could not be found - iis

查看:24
本文介绍了找不到服务器 DNS 地址 - iis的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 IIS 中添加了新站点

I added new site in IIS


当我尝试在浏览器中打开站点时,它显示 DNS 错误


When I'm trying open site in browser it is showing DNS error

自 5 天以来一直在尝试解决此问题,但我无法解决此问题.请帮忙

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

我使用的是 Windows 10 操作系统

I'm using windows 10 OS

推荐答案

这是因为您的浏览器正在查询IP地址的DNS服务器无法识别主机名.您可以通过编辑位于 c:windowssystem32driversetchosts 的主机文件来解决此问题(此文件没有文件扩展名).这是解释如何编辑此文件的链接:http://www.howtogeek.com/howto/27350/beginner-geek-how-to-edit-your-hosts-file/

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:windowssystem32driversetchosts (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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆