导航到站点根目录时,我会看到一个IIS启动画面 [英] When navigating to the site root, I get an IIS splash screen

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

问题描述

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

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

我的绑定设置为如果我导航到mysite。它应该打开根网站,mysite.com/training它打开我的培训网站。 mysite.com/training URL工作正常,但根本没有,它只显示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它运行正常,它只是在导航到root时不会打开默认页面(设置正确)。

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.

可能是一个缓存问题,请查看这篇文章:< a href =https://stackoverflow.com/questions/5863283/iis7-showing-iisstart-html-instead-of-default-document> IIS7显示iisstart.html而不是默认文档

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

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

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