Reputation: 896
I've created an Windows Azure Blob Storage and associated a Windows Azure CDN service.
I map custom domain to Azure CDN. After veryfication is completed for my custom domain, I've created CNAME record that map static.codeinstinct.pro to az412526.vo.msecnd.net.
As a result, I have 3 links:
codeinstinct.blob.core.windows.net/test/trouble.gif
az412526.vo.msecnd.net/test/trouble.gif
static.codeinstinct.pro/test/trouble.gif
First 2 links is work, but the last one doesn't (returns a 400 'Bad request' error).
I try to get details DNS name of custom domain. It's look like:
;; QUESTION SECTION:
;static.codeinstinct.pro. IN CNAME
;; ANSWER SECTION:
static.codeinstinct.pro. 600 IN CNAME az412526.vo.msecnd.net.
;; AUTHORITY SECTION:
codeinstinct.pro. 86399 IN NS ns01.parking.ru.
codeinstinct.pro. 86399 IN NS ns11.parking.ru.
Why it is not working?
Upvotes: 0
Views: 1368
Reputation: 896
I removed all what I had created: custom domain (with CNAME records), then Azure CDN enpoint. Then I recreated what I had removed and... all work!
Upvotes: 0
Reputation: 12174
You need to enable the custom domain in the Azure portal - see How to Map CDN Content to a Custom Domain
Upvotes: 1