0

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?

codez0mb1e
  • 706
  • 6
  • 17

2 Answers2

1

You need to enable the custom domain in the Azure portal - see How to Map CDN Content to a Custom Domain

viperguynaz
  • 12,044
  • 4
  • 30
  • 41
  • > enable the custom domain - You mean the validate domain steps? – codez0mb1e Jan 29 '13 at 13:41
  • I have read this walk-through once, then twice, then... and cannot find step which I left undone or done incorrectly. – codez0mb1e Feb 01 '13 at 08:10
  • did you validate your domain in the Azure Portal? Did you follow/complete all the steps? – viperguynaz Feb 01 '13 at 15:30
  • 1
    Yes, I validated my custom domain. After validation domain status have been 'allowed'. Other steps also have been completed. – codez0mb1e Feb 04 '13 at 10:32
  • Same here, still getting 400 Bad Request. Even Dig (http://digwebinterface.com) shows the propagation changes being reflected. What else could be causing this? – Marchy Nov 21 '16 at 14:20
0

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!

codez0mb1e
  • 706
  • 6
  • 17