导航到站点根目录时,我得到一个 IIS 初始屏幕 [英] When navigating to the site root, I get an IIS splash screen

查看:29
本文介绍了导航到站点根目录时,我得到一个 IIS 初始屏幕的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 IIS 7 中配置了一个网站,其中有一个应用程序(另一个站点)位于该站点.

I have a website configured in IIS 7, with an application (another site) located that site.

我的绑定设置为,如果我导航到 mysite.com,它应该会打开根站点,而 mysite.com/training 它会打开我的培训站点.mysite.com/training URL 可以正常工作,但 root 不能,它只是显示 IIS 启动屏幕.

My bindings are set so that if I navigate to mysite.com it should open the root site, and mysite.com/training it opens up my training site. The mysite.com/training URL works fine, but the root does not, it just shows the IIS splash screen.

如果我导航到根目录上的特定页面,例如 mysite.com/index.aspx,它可以正常工作,只是在导航到根目录时不会打开默认页面(设置正确).

If I navigate to a specific page on the root like mysite.com/index.aspx it works fine, it just won't open the default page (which is set correctly) when navigating to the root.

有什么想法吗?

推荐答案

  1. 确保 IIS 中的index.aspx"列在默认文档列表中.

  1. make sure in IIS 'index.aspx' is listed in the default documents list.

可能是缓存问题,请查看这篇文章:IIS7 显示 iisstart.html 而不是默认文档

maybe its a cache issue, check out this post: IIS7 showing iisstart.html instead of default document

这篇关于导航到站点根目录时,我得到一个 IIS 初始屏幕的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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