Azure CDN endpoint returns 400 invalid hostname

Peter 1 Reputation point
2020-06-02T08:14:20.983+00:00

Hello,

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 https://msastagingdoc.azureedge.net 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 10,001 Reputation points
    2020-06-04T11:19:26.41+00:00

    Greetings,

    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
    2020-06-04T12:46:31.967+00:00

    Hello SubhashVasarapu-8577,

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


  3. Peter 1 Reputation point
    2020-06-05T15:35:28.73+00:00

    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
    2020-06-06T06:02:44.363+00:00

    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.