Azure CDN endpoint returns 400 invalid hostname

Peter 1 Reputation point


First time using an Azure service, not the first time configuring a CDN. About 18 hours ago, I have configured a CDN endpoint for https, a custom domain, configured my DNS and created a SSL cert in Azure. Unfortunately returns 400 "Invalid hostname". What else do I need to do?

Azure Content Delivery Network
0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. suvasara-MSFT 9,891 Reputation points


    Which CDN product have you deployed in your environment? If it is Standard Akamai then Custom domain Https requires direct CNAME to enable. Also, Please note that after the custom domain HTTPS feature is disabled, it can take up to 6-8 hours for it to take effect. I hope it got resolved now. Else, let us know we will provide more insights.

    Please do not forget to "Accept the answer" wherever the information provided helps you to help others in the community.

    0 comments No comments

  2. Peter 1 Reputation point

    Hello SubhashVasarapu-8577,

    It's standard Microsoft. It's not resolved yet, see the provided URL.

  3. Peter 1 Reputation point

    After 4 days I still haven't been able to test the CDN. And getting support is very cumbersome so far.

  4. Peter 1 Reputation point

    Yes, CNAME is ok. Thanks for your help, I'm going to give up. It took too long and meanwhile I have tested several other CDNs which work fine. Not sure why Azure is that complex compared to the others. I may look into Azure later if my selected CDN does not work for us in the long run.