IIS 问题? 网站突然打不开

发布于 2024-07-20 05:32:33 字数 327 浏览 16 评论 0原文

所以我在服务器上设置了一个站点。 它一直在工作。 突然间它停止工作了。 我什至尝试通过IP访问它。 它只是说,“正在建设中......

正在建设中

您尝试查看的网站当前没有默认页面。它可能正在升级和配置过程中......”

我检查以确保它指向正确的虚拟目录,并且默认页面已在文档列表中设置。 默认页面也存在于目录中......

没有通过代码进行任何更改。 服务器上没有任何更改。 我有很多其他网站在同一台服务器上运行,并且它们都会出现。 只是想知道是否有什么事情可能已经发生或被忽视了。 有什么想法或想法吗?

太感谢了。

So I have a site setup on a server. It has been working for ever. All of a sudden it stops working. I tried going to it even by IP. It just says, "Under Construction..

Under Construction

The site you are trying to view does not currently have a default page. It may be in the process of being upgraded and configured..."

I check to make sure it was pointing at the right virtual dir and that the default page was set in the documents list. The default page does exist in the dir too....

Nothing has been changed via code. Nothing has been altered on the server. I have a bunch of other sites running on the same server and they are all coming up. Just wondering if there was something that may have happened or overlooked. Any thoughts or ideas?

Thanks a million.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

千寻… 2024-07-27 05:32:33

仔细检查您的绑定设置是否正确。 也许创建的新网站与您网站的绑定冲突?

编辑

确保 .net 设置为正确的版本。 我见过当 2.0 网站上的网络设置为 1.1 时,页面无法提供的情况。

该网站还可以在本地盒子上运行吗? 您是否排除了防火墙问题/更改或其他网络相关元素。

Double check your bindings are set correctly. Perhaps a new site was created which conflicts with the bindings of your site?

Edit

Make sure .net is set to the right version. I've seen where pages are not served up when the web is set to 1.1 on a 2.0 site.

Also does the site work locally on the box? Have you ruled out firewall issues / changes or other network related elements.

梦年海沫深 2024-07-27 05:32:33

听起来您的请求正在由另一个 IIS 站点处理。 确保主机标头设置正确。


根据您的评论,“错误请求”错误意味着默认网站正在处理该请求。 您可以检查以下几项内容:

  1. 如果这不是您希望为您的应用程序提供服务的网站,那么您仍然存在网站身份问题。
  2. 如果您的应用程序托管在默认网站上,请确保默认文档设置正确。
  3. 另请确保应用程序的根目录中没有名为“app_offline.htm”的文件。

It sounds like your request is being handled by another IIS site. Make sure that the host header is set correctly.


With your comment, the "Bad Request" error means that the default web site was handling the request. There are a couple of things you can check:

  1. If this is not the site that you expected to serve your app, then you still have a website identity issue.
  2. If your app is hosted on the default web site, then make sure that the default document is set correctly.
  3. Also make sure that you don't have a file named "app_offline.htm" in your app's root.
爺獨霸怡葒院 2024-07-27 05:32:33

好吧,我们重新启动了服务器,现在它又可以工作了。 我想我一开始就应该尝试一下。 奇怪的是所有其他网站都在工作。 不管怎样,谢谢大家的建议。

Well we rebooted the server and now it works again. I guess I should have tried that in the first place. It was just odd that all the otehr sites were working. Anyway thanks for suggestions everyone.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文