IIS网站蓝色闪屏问题. [英] IIS website blue flash screen issue.

查看:160
本文介绍了IIS网站蓝色闪屏问题.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个IIS站点,在浏览时会给我一个蓝色的闪烁屏幕.

Hi, I have an IIS site that when browsed gives me a blue flash screen.

在我的测试环境和实时环境中,它都具有相同的设置,但是测试工作正常,但是实时环境却出现了错误.

It is having same settings in my both test and live environment, but test is working fine, however the live one is giving error.

现在有趣的部分是,当我在C:\ Windows \ System32 \ drivers \ etc \ hosts文件中提供主机条目时,它不会抛出错误,并且看起来不错.再次注释掉主机条目,将开始抛出错误.

Now interesting part is, when I give the host entry in C:\Windows\System32\drivers\etc\hosts file, it doesn't throw me error and appears fine. Commenting out the host entry again, will start throwing me error.

检查绑定并将其与我的测试环境进行比较;一切似乎都很好.

Checked bindings and compared it with my test environment; all seem good.

所以我想知道为什么在hosts文件中提供主机名只会给我正确的页面,但相反却不起作用?

So I want to know what could be the reason that providing host name in the hosts file only give me right page, but the reverse doesn't work?

推荐答案

Hi vicdas,

检查以下内容:

1.检查dns条目.确保它是正确的.

1. Check the dns entry. Make sure it is correct.

2.是否可以在没有主机条目的情况下ping通URL(它指向正确的服务器).

2. Are you able to ping the url without host entry (is it pointing to correct server).

3.您是否正在使用负载均衡器.如果是,请检查负载均衡器设置.

3. Are you using load balancer. If yes, check the load balancer settings.

4.如果没有主机条目,则可以直接通过IIS浏览它.

4. Without host entry, are you able to browse it through IIS directly.

问候


这篇关于IIS网站蓝色闪屏问题.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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