Use custom domain for Azure CDN endpoint.

Sesethu Mhlana 21 Reputation points

I have a Azure CDN endpoint linked to a single page application hosted in blob storage. I have a custom domain that I bought through a different provider.
I want to link the custom domain with the CDN endpoint or the blob storage. How do I do that?

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,094 questions
0 comments No comments
{count} votes

Accepted answer
  1. deherman-MSFT 30,466 Reputation points Microsoft Employee

    There is a tutorial available here which walks you through the steps to accomplish this. Please follow the steps outlined here and let us know if your run into any issues or have further questions.


    Please don’t forget to "Accept the answer" and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Sesethu Mhlana 1 Reputation point

    I created a CNAME record on my domain provider (Godaddy) account. Set the Host field to my custom domain and and the Points to field to my CDN endpoint.
    When associating the custom domain with the CDN endpoint in the CDN Endpoint page in Azure portal, I set the Custom hostname to the custom domain, I get the error

    We couldn't find a DNS record for '<custom_domain_url>' that points to '<cdn_endpoint_url>'. Before you can associate a domain with this CDN endpoint, you need to create a CNAME record with your DNS provider for '<custom_domain_url>' that points to '<cdn_endpoint_url>'.

    where '<custom_domain_url> and <cdn_endpoint_url> are placeholders in this case.
    I have repeated this a couple of times and I don't know what I'm missing.