azureblazor-webassemblygodaddy-apiazure-static-web-app

Azure Static Web App custom domain with GoDaddy is no working


I've a static Blazor website hosted on azure and I've set custom domain for it. The issue is custom domain https://www.raohammas.site/ is working while root domain https://raohammas.site/ doesn't work. Why? Though, I've added required DNS records for my domain.

DNS RECORDS On GoDaddy

DNS RECORDS

Azure Custom Domains Azure domain status

I followed this guide by Microsoft to setup everything.


Solution

  • You need to follow the guide how to set up Apex domains: https://learn.microsoft.com/en-us/azure/static-web-apps/apex-domain-external