0
votes

I have a static website hosted on an azure CDN (Verizon premium plan). There is a custom domain associated with this, lets call it www.website.com.

When typing 'website.com' into the nav bar, it returns a DNS_PROBE_FINISHED_NXDOMAIN error. However when typing 'www.website.com' it returns fine.

Is there a way that 'website.com' can be mapped/redirected to 'www.website.com'?

2

2 Answers

0
votes

Your scenario is pointing apex domain to Azure Services, here Storage account.

Here is the Azure documentation which helps you to configure: https://docs.microsoft.com/en-us/azure/dns/dns-alias#point-zone-apex-to-azure-cdn-endpoints

Let me know if you have any questions while configuring.

0
votes

In this case, you could also enable the custom domain website.com in your Azure CDN. If so, you could host your custom domain in Azure DNS first then add an alias record that points to your Azure CDN endpoint in the DNS zone for your custom domain.

enter image description here