How to Map Your Custom Domain to the Agility CDN

Follow

We have a number of customers who have inquired about how to move their CDN from the US to CA. 

This article will outline the steps required to properly map your custom domain to the Agility CDN. 

There are 3 main parts that this breaks down into:  

1. add verification record

2. Agility takes action

3. Permanent modification

STEP 1: Add verification record

Map the Temporary cdnverify Subdomain

When you map an existing domain that is in production, there are special considerations. While you are registering your custom domain in the Azure portal, a brief period of downtime for the domain can occur. To avoid interruption of web traffic, first map your custom domain to your CDN endpoint hostname with the Azure cdnverify subdomain to create a temporary CNAME mapping. With this method, users can access your domain without interruption while the DNS mapping occurs.

Otherwise, if you are using your custom domain for the first time and no production traffic is running on it, you can directly map your custom domain to your CDN endpoint. Proceed to Map the permanent custom domain.
 

To create a CNAME record with the cdnverify subdomain:

  1. Sign in to the web site of the domain provider for your custom domain.
     
  2. Find the page for managing DNS records by consulting the provider's documentation or searching for areas of the web site labeled Domain Name, DNS, or Name server management.
     
  3. Create a CNAME record entry for your custom domain and complete the fields as shown in the following table (field names may vary):


    Source Type Destination
    cdnverify.media.yourdomain.com
    (Where media.yourdomain.com is your CDN domain)
    CNAME cdnverify.destinationdomain.azureedge.net
    (Agility will provide this)
  • Source: Enter your custom domain name, including the cdnverify subdomain, in the following format: cdnverify.<custom domain name>. For example, cdnverify.www.yourdomain.com
  • Type: Enter CNAME.
  • Destination: Enter your CDN endpoint hostname, including the cdnverify subdomain, in the following format: cdnverify.<endpoint name>.azureedge.net. For example, cdnverify.destinationdomain.azureedge.net

 

4. Save your changes

Below is the link to the full help article for set-up: 
https://docs.microsoft.com/en-us/azure/cdn/cdn-map-content-to-custom-domain

 

 STEP 2: Agility will verify and set up the CDN Profile. Agility will reach out to your team once this has been completed. 

 

STEP 3: Permanent modification

Map the permanent custom domain

If you have verified that the cdnverify subdomain has been successfully mapped to your endpoint (or if you are using a new custom domain that is not in production), you can then map the custom domain directly to your CDN endpoint hostname.

To create a CNAME record for your custom domain:
 

  1. Sign in to the web site of the domain provider for your custom domain.
     
  2. Find the page for managing DNS records by consulting the provider's documentation or searching for areas of the web site labeled Domain Name, DNS, or Name Server Management.
     
  3. Create a CNAME record entry for your custom domain and complete the fields as shown in the following table (field names may vary):


    Source Type Destination
    <www.yourdomain.com> CNAME endpoint.azureedge.net
  • Source: Enter your custom domain name (for example, www.yourdomain.com).
  • Type: Enter CNAME.
  • Destination: Enter your CDN endpoint hostname. It must be in the following format:<endpoint name>.azureedge.net. For example, endpoint.azureedge.net.
     
  1. Save your changes.
     
  2. If you're previously created a temporary cdnverify subdomain CNAME record, delete it.
     
  3. If you are using this custom domain in production for the first time, follow the steps for Associate the custom domain with your CDN endpoint and Verify the custom domain.

 

 

 

 

 

 

0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.