为什么状态码404错误信息在不同环境中有所不同?

时间:2017-09-22 11:03:19

标签: azure iis http-status-code-404

我们已将网站从本地环境迁移到Azure。但是我们得到错误代码404的不同错误消息。以下是屏幕截图。

  1. 如果是现有网站。 404 Error message from existing hosted Website
  2. 云迁移后。 404 Error message After Migrated to cloud

1 个答案:

答案 0 :(得分:0)

如果您在访问自定义域时收到404错误,那么您很可能错过 Azure App Service Web App配置与自定义域之间的链接。

有关详细信息,请参阅:https://blogs.msdn.microsoft.com/benjaminperkins/2013/10/01/404-file-or-directory-not-found-when-mapping-custom-domain-to-a-windows-azure-web-site-server-error/