通过 Azure 上的 Blob 存储托管的根域静态网站?
我想托管一个静态网站 Microsoft Azure 的 Blob 存储。是否可以将网站托管在域的根目录(又名 http://contoso.com
而不是 http://www.contoso.com
)使用 Blob 存储?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
自定义域映射到Azure Blob存储静态网站仅适用于子域(例如:
www.contoso.com
)。如果您希望您的Web端点在根域上可用(例如:
contoso.com
),那么您必须使用azure cdn 用启用https启用的自定义域或。https://learn.microsoft.com/en-us/azure/storage/storage/blobs/storage-custom-domain-name-name?启用HTTPS的域
Custom domain mapping to an Azure Blob Storage static website works only for subdomains (for example:
www.contoso.com
).If you want your web endpoint to be available on the root domain (for example:
contoso.com
), then you'll have to use Azure CDN Map a custom domain with HTTPS enabled or Azure Static Web Apps.https://learn.microsoft.com/en-us/azure/storage/blobs/storage-custom-domain-name?tabs=azure-portal#map-a-custom-domain-with-https-enabled