Azure CDN endpoint custom domain validation stuck on "Pending domain validation approval"

Data Lab 20 Reputation points
2023-05-27T15:27:00.1233333+00:00

Hi
I have a CDN custom domain that has been unable to validate for the past 1-2 weeks. I tried deleting the custom domain after a week and re-adding it, but that hasn't helped. I added the cdnverify CNAME records in advance , and this domain has email set up but there was no validation request. It's not clear to me why the process has stalled. Is there any way to investigate why it's taking so long? I have dropped an email to Azure CXP Community Connect with the relevant details.

Azure Content Delivery Network
{count} votes

Accepted answer
  1. Konstantinos Passadis 17,381 Reputation points MVP
    2023-05-27T15:33:25.02+00:00

    Hello @Data Lab !

    Welcome to Microsoft QnA!

    Can you validate the CNAME was correctly configured ? I am not saying you made an error just make sure with the DNS provider

    To verify and compare use the https://toolbox.googleapps.com/apps/dig/ tool add the domain and select the CNAME records

    I suppose you went through this

    https://video2.skills-academy.com/en-us/azure/cdn/cdn-map-content-to-custom-domain?tabs=dns-provider%2Cazure-portal%2Cazure-portal-cleanup

    For Non Azure DNS Providers :

    Map the temporary cdnverify subdomain

    When you map an existing domain that is in production, there are special considerations.

    A brief period of downtime for the domain can occur when registering your custom domain in the Azure portal.

    To avoid interruption of web traffic, map your custom domain to your CDN endpoint hostname with the Azure cdnverify subdomain. This process creates a temporary CNAME mapping.

    With this method, users can access your domain without interruption while the DNS mapping occurs.

    If production downtime considerations aren't a concern, you can directly map your custom domain to your CDN endpoint. Continue to Map the permanent custom domain.

    To create a CNAME record with the cdnverify subdomain:

    1. Sign in to the web site of the DNS provider for your custom domain.
    2. 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.www.contoso.com CNAME cdnverify.contoso.azureedge.net
    1. Source: Enter your custom domain name, including the cdnverify subdomain, in the following format: cdnverify.<custom-domain-name>
    • For example: cdnverify.www.contoso.com
    1. Type: Enter or select CNAME.
    2. Destination: Enter your CDN endpoint hostname, including the cdnverify subdomain, in the following format: cdnverify.<endpoint-name>.azureedge.net.
    • For example: cdnverify.contoso.azureedge.net
    1. Save your changes.

    Map the permanent custom domain

    In this section, you map the permanent custom domain to the CDN endpoint.

    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. 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.contoso.com CNAME contoso.azureedge.net
    1. Source: Enter your custom domain name.
    1. Type: Enter or select CNAME.
    2. Destination: Enter your CDN endpoint hostname in the following format: <endpoint-name>.azureedge.net.
    • For example: contoso.azureedge.net
    1. Save your changes.
    2. If you previously created a temporary cdnverify subdomain CNAME record, delete it.
    3. If you're using this custom domain in production for the first time, follow the steps for Add the custom domain with your CDN endpoint and Verify the custom domain.

     

    I hope this helps!

    Kindly mark the answer as Accepted and Upvote in case it helped!

    Regards

    2 people found this answer helpful.

0 additional answers

Sort by: Most helpful