通过 Azure 上的 Blob 存储托管的根域静态网站?

发布于 2025-01-20 10:30:15 字数 269 浏览 2 评论 0 原文

我想托管一个静态网站 Microsoft Azure 的 Blob 存储。是否可以将网站托管在域的根目录(又名 http://contoso.com 而不是 http://www.contoso.com)使用 Blob 存储?

I would like to host a static website over the Blob Storage of Microsoft Azure. Is it possible to have the website hosted at the root of the domain (aka http://contoso.com rather than http://www.contoso.com) while using the Blob Storage?

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

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

发布评论

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

评论(1

晨曦÷微暖 2025-01-27 10:30:15

自定义域映射到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

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