最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

Mapping custom root domain to Windows Azure CDN does not work - Stack Overflow

matteradmin8PV0评论

I added the custom domain www.contoso to my cdn but when I try to add contoso it says:

We couldn't find a DNS record for 'contoso' that points to 'cdn-name.azureedge'. Before you can associate a domain with this CDN endpoint, you need to create a CNAME record with your DNS provider for 'contoso' that points to 'cdn-name.azureedge'.

The only answers I find on this are using the Azure dns, I am not. My dns provider is porkbun and I added an alias pointing to the cdn, yet I'm still getting this issue. Is there a step that I am missing or is it just not possible?

I added the custom domain www.contoso to my cdn but when I try to add contoso it says:

We couldn't find a DNS record for 'contoso' that points to 'cdn-name.azureedge'. Before you can associate a domain with this CDN endpoint, you need to create a CNAME record with your DNS provider for 'contoso' that points to 'cdn-name.azureedge'.

The only answers I find on this are using the Azure dns, I am not. My dns provider is porkbun and I added an alias pointing to the cdn, yet I'm still getting this issue. Is there a step that I am missing or is it just not possible?

Share Improve this question asked Nov 16, 2024 at 21:52 ClassicRanchClassicRanch 357 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 1

The error occurs because Azure CDN requires a valid CNAME record pointing your domain (e.g., contoso) to the CDN endpoint (cdn-name.azureedge) before allowing you to associate the domain. However, contoso (apex or root domain) cannot directly have a CNAME record due to DNS restrictions. Root domains cannot use CNAME records but can use ALIAS/ANAME.

Post a comment

comment list (0)

  1. No comments so far