Answered by:
Custom root domain issue on Azure CDN

Question
-
Good morning. I have deployed static angular website on Azure Storage and added endpoint to Azure CDN to be able to setup custom domain url. Domain (uniphi.live) was bought at dynadot. Now I want to link root domain to my angular website over CDN but I get error that there are no CName for such url. Before of that I successfully linked site to www subdomain and awverify and it works fine. But root domain can't be found by azure cdn. I checked domain over dns lookup and I clearly see cname. What should I do to fix this problem?Monday, April 27, 2020 9:27 AM
Answers
-
You should use alias records to point your DNS zone apex uniphi.live to Azure CDN endpoints. If your domain DNS provider does not support alias record for root domain, you could optionally to host your domain in Azure DNS.
In the Azure DNS zone, you could create an alias record like this,
After the records are verified, you could add the hostname uniphi.live in the custom domain of your CDN endpoint.
Alternatively, you could try the workaround in this blog.If you would like to provide a feedback on this feature then i would recommend you to up-vote this feature here in this Azure feedback section.
If you think your question has been answered, click "Mark as Answer" if just helped click "Vote as helpful". This can be beneficial to other community members reading this forum thread.
Best regards
Subhash- Proposed as answer by SubhashVasarapu-MSFTMicrosoft employee Tuesday, April 28, 2020 9:19 AM
- Marked as answer by Aleksander Anishchik Tuesday, April 28, 2020 9:31 AM
Tuesday, April 28, 2020 9:16 AM
All replies
-
Greetings,
CNAME records aren't supported at the zone apex. So, you can’t use a CNAME record to point contoso.com to your CDN endpoint. Instead, you can use an alias record to point the zone apex to a CDN endpoint directly.
Note: Pointing a zone apex to CDN endpoints for Azure CDN from Akamai is currently not supported.
Here is the doc for a quick reference.If you think your question has been answered, click "Mark as Answer" if just helped click "Vote as helpful". This can be beneficial to other community members reading this forum thread.
Best regards
Subhash- Proposed as answer by SubhashVasarapu-MSFTMicrosoft employee Monday, April 27, 2020 1:08 PM
- Edited by SubhashVasarapu-MSFTMicrosoft employee Monday, April 27, 2020 1:09 PM
Monday, April 27, 2020 1:08 PM -
I don't see Alias type of record on dynadot portal. Please see screenshot http://prntscr.com/s6yifn Is it possible to configure with any of these methods?
Does it mean that I should specify A record at root level of domain? If yes, where I can see IP of my Azure CDN endpoint?
- Edited by Aleksander Anishchik Monday, April 27, 2020 7:24 PM
Monday, April 27, 2020 6:59 PM -
You should use alias records to point your DNS zone apex uniphi.live to Azure CDN endpoints. If your domain DNS provider does not support alias record for root domain, you could optionally to host your domain in Azure DNS.
In the Azure DNS zone, you could create an alias record like this,
After the records are verified, you could add the hostname uniphi.live in the custom domain of your CDN endpoint.
Alternatively, you could try the workaround in this blog.If you would like to provide a feedback on this feature then i would recommend you to up-vote this feature here in this Azure feedback section.
If you think your question has been answered, click "Mark as Answer" if just helped click "Vote as helpful". This can be beneficial to other community members reading this forum thread.
Best regards
Subhash- Proposed as answer by SubhashVasarapu-MSFTMicrosoft employee Tuesday, April 28, 2020 9:19 AM
- Marked as answer by Aleksander Anishchik Tuesday, April 28, 2020 9:31 AM
Tuesday, April 28, 2020 9:16 AM