为什么使用www时我的网站无法访问? asp.net

时间:2020-06-08 23:25:46

标签: c# asp.net .net sitecore8

如果我访问:https://example.com,它将起作用。可以访问该网站

但是,如果我访问:https://www.example.com,就不能这样访问它:

error page

我需要在web.config中进行设置吗?

1 个答案:

答案 0 :(得分:0)

将域www.example.com添加到Azure。请参阅下面的详细信息。

https://docs.microsoft.com/en-us/azure/active-directory/fundamentals/add-custom-domain