微软Azure - 使用自定义域和我的web应用程序获得一个404页, [英] Microsoft Azure - Getting a 404 page using custom domain with my web app

查看:195
本文介绍了微软Azure - 使用自定义域和我的web应用程序获得一个404页,的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有与Azure的网站,我努力尝试没有WWW访问我的web应用程序(设置了自定义域)的时候,我得到一个蓝色的404页的问题。 (以www。网站正常工作)。 NS查找表明,采用裸域时(infratecheng.com)的结果仰视全域(www.infratecheng.com)时比不同。

There's an issue with an Azure website I'm working on where I get an azure 404 page when trying to access my web app (set up with a custom domain) without www. (with www. the site works fine). NS lookup shows that when using the naked domain (infratecheng.com) the results are different than when looking up the full domain (www.infratecheng.com).

自定义域已设置为每对蔚蓝门户的说明。

The custom domain has been set up as per the instructions on the azure portal.

我不知道这是蔚蓝内的配置有问题还是一个问题,我的域名提供商的设置?

I wonder if this is a problem with configuration within azure or is it a problem with my domain provider settings?

非常感谢

推荐答案

最有可能的问题是,你只加了 www.infratecheng.com 作为主机名您Azure的Web应用程序,但没有添加 infratecheng.com 。因此,当Azure的获取请求 infratecheng.com ,它不知道这件事可以处理他们的任何部位,并返回一个404。

Most likely, the problem is that you only added www.infratecheng.com as a host name for your Azure Web App, but did not add infratecheng.com. So when Azure gets requests to infratecheng.com, it doesn't know about any site that can handle them, and returns a 404.

这篇关于微软Azure - 使用自定义域和我的web应用程序获得一个404页,的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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