WebContentNotFound for Blob Storage Static Webste

Guillaume Mösching 0 Reputation points
2024-10-21T10:23:05.77+00:00

Hi Team,

I set up a static website in the $web container of a blob storage. I'm able to access it with .z6.web.core.windows.net

Now I'm trying to configure a custom domain pointing to the storage. I've tried to setup a CDN and a frontdoor. But for both of them I'm getting a 404 WebContentNotFound for the azureedge.net site, the z02.azurefd.net site, and the custom domain. I have an index.html file in the container, and the static website page is configured with this file for "Index document name" and "Error document path".

The container's Anonymous access level is set to "Container".

I've tried also the url paths ../$web and /$web/index.html

Is there any other information you would like?

I'm out of ideas and I kindly request your support.

Azure Front Door
Azure Front Door
An Azure service that provides a cloud content delivery network with threat protection.
696 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,946 questions
Azure Content Delivery Network
Azure Static Web Apps
Azure Static Web Apps
An Azure service that provides streamlined full-stack web app development.
990 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. KapilAnanth-MSFT 47,206 Reputation points Microsoft Employee
    2024-10-21T13:48:19.3233333+00:00

    @Guillaume Mösching ,

    Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.

    I understand that you are trying to set up custom domain to your Static website.

    For the sake of troubleshooting,

    • Please let me know if you'd prefer CDN or AFD and I can assist accordingly.
    • May I know what endPoint you used in Origin?
      • Is it "<YOURACCOUNTNAME>.z6.web.core.windows.net/index.html"
      • or "<YOURACCOUNTNAME>.blob.core.windows.net/$web/index.html"

    CDN : https://learn.microsoft.com/en-us/azure/cdn/cdn-create-a-storage-account-with-cdn

    AFD : https://learn.microsoft.com/en-us/azure/frontdoor/scenario-storage-blobs

    • If you use "<YOURACCOUNTNAME>.z6.web.core.windows.net/index.html" - you don't have to specify the "$web" in your path name

    Cheers,

    Kapil


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.