0
votes

Problem about setting custom domain for static web on Files Storage Azure.

I already added domain in config screen and set cname in domain but still didn't worked.

enter image description here

1
If the reply has solved your problem, please accept it.Nancy Xiong

1 Answers

0
votes

The problem is that you are mapping a root domain, not subdomains. From Configure a custom domain name for your Azure storage account,

The mapping does only work for subdomains (e.g. www.contoso.com). If you want to have your web endpoint available on the root domain (e.g. contoso.com), then you have to Add a custom domain to your Azure CDN endpoint.

In this case, you can try to use a subdomain like sub.contoso.com in your DNS provider. Otherwise, you need a CDN endpoint for that root domain. For more details, you can get from this blog.