how to map custom domain to azure cdn endpoint

id flag

I am trying to map my custom domain to my Azure CDN endpoint as instructed here. The end goal being to host a static site with custom domain in blob storage. The original instructions are here but the steps are very fragmented. I am trying to setup the CNAME but it doesn't seem to be working. Its also frustrating to have to try something, then wait for DNS to propogate to see if I did it right or not.

So right now I have the storage and the CDN endpoint and now I'm at the step where I'm adding a custom domain and it gives me this error. In namecheap, I created a cname and set the host to my custom domain and value to the URL.

Can someone help me fix what I'm doing wrong or help me verify that I did it right so I can just wait for DNS to propogate? Thanks!

Azure Error

namecheap input

cn flag

It seems to me that what you are doing is correct and you just need to wait for DNS propagation.

You can use dig @ to verify that your DNS settings are correct.

Other than that just wait :)

Dan Csharpster avatar
id flag
Thanks for the help! I got it to work by changing the host to www in namecheap and also on the CDN making the endpoint www.<mysite>.com. I think when it was right it finally propogated in 15 minutes or so. For some reason, namecheap wouldn't take a wildcard for the host name. I'll keep trying on that but getting the www subdomain working is sufficient for now.

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.