Azure CDN Cert Change To CDN Managed

Claire Morgan 21 Reputation points
2024-09-03T13:45:21.03+00:00

Hi

As Azure have now changed the CDN's so you can only use CDN managed certificates we are trying to change ours over.

We have a pre-existing CDN with (example) details below

CDN endpoint mytestcdn.azureedge.net assigned to a custom domain of test.mydomain.com which has an origin hostname (that lives on an azure app service) of mywebsite.mydomain.com

When trying to update the CDN certificate for test.mydomain.com to CDN Managed, it's throwing an error of "We couldn't find a DNS record for custom domain that points to endpoint. To map a domain to this endpoint, create a CNAME record with your DNS provider for custom domain that points to endpoint."

I'm assuming we need to add some kind of CNAME record to DNS for the authentication, but it doesn't advise what needs to be added.

We also have a production website that has a CDN, that runs from the same root domain, i.e prod.mydomain.com so i'm wondering if we add the CNAME record for configuring the test CDN/Website, are we going to impact the production CDN/Website as they are the same root domain?

Any advise would be appreciated.

Thanks

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

Accepted answer
  1. ChaitanyaNaykodi-MSFT 26,936 Reputation points Microsoft Employee
    2024-09-03T22:40:25.6266667+00:00

    @Claire Morgan

    Thank you for reaching out.

    I understand you are trying to configure CDN managed certificate for your custom domain for Azure CDN. You getting an error message "We couldn't find a DNS record for custom domain that points to endpoint. To map a domain to this endpoint, create a CNAME record with your DNS provider for custom domain that points to endpoint."

    Based on your statement above

    I'm assuming we need to add some kind of CNAME record to DNS for the authentication, but it doesn't advise what needs to be added.

    Yes to onboard custom domain to your Azure CDN you add a CNAME record to the DNS which maps to the Azure CDN endpoint.

    You can follow this document to help set-up HTTPS for the custom domain.

    The CNAME record created should in following format

    Name -> test.mydomain.com

    Type -> CNAME

    Destination -> mytestcdn.azureedge.net

    You can follow the instruction here on adding this record to your DNS provider or map a temporary cdnverify subdomain to avoid any downtime.

    We also have a production website that has a CDN, that runs from the same root domain, i.e prod.mydomain.com so i'm wondering if we add the CNAME record for configuring the test CDN/Website, are we going to impact the production CDN/Website as they are the same root domain?

    The CNAME record creation should not affect the production website as the CNAME record created will resolve to mytestcdn.azureedge.net and will serve the test environment content.

    Although it is highly recommended to perform any changes during maintenance period to avoid any downtimes.

    Hope this helps! Please let me know if you have any additional questions. Thank you!


    ​​Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.