Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This article answers frequently asked questions about static website hosting in Azure Blob Storage.
Does the Azure Storage firewall work with a static website?
Yes. Storage account network security rules, including IP-based and virtual network firewalls, work with the static website endpoint. Use these rules to protect your website.
Do static websites support Microsoft Entra ID?
No. A static website only supports anonymous public read access for files in the $web container.
How do I use a custom domain with a static website?
Configure a custom domain with a static website by using Azure Content Delivery Network (Azure CDN). Azure CDN provides consistent low latencies to your website from anywhere in the world.
How do I use a custom Secure Sockets Layer (SSL) certificate with a static website?
Configure a custom SSL certificate with a static website by using Azure CDN. Azure CDN provides consistent low latencies to your website from anywhere in the world.
How do I add custom headers and rules with a static website?
Configure the host header for a static website by using Azure CDN - Verizon Premium. We'd be interested to hear your feedback here.
Why am I getting an HTTP 404 error from a static website?
A 404 error can happen if you refer to a file name by using an incorrect case. For example: Index.html instead of index.html. File names and extensions in the URL of a static website are case-sensitive even though they're served over HTTP. This error can also happen if your Azure CDN endpoint isn't yet provisioned. Wait up to 90 minutes after you provision a new Azure CDN for the propagation to complete.
Why isn't the root directory of the website redirecting to the default index page?
In the Azure portal, open the static website configuration page of your account and locate the name and extension that is set in the Index document name field. Ensure that this name is exactly the same as the name of the file located in the $web container of the storage account. File names and extensions in the URL of a static website are case-sensitive even though they're served over HTTP.