schorner
schorner

Reputation: 1

Adding Custom Domain to Azure CDN Endpoint Caused Downtime to CDN

When we tried to add a custom domain to our current Azure CDN endpoint, the CDN was down while it was trying to verify and issue an SSL certificate for the custom domain. I cancelled the process and everything came back after a few minutes.

I know that in the instructions it states to map the custom domain to the temporary cdnverify subdomain,https://learn.microsoft.com/en-us/azure/cdn/cdn-map-content-to-custom-domain#map-the-temporary-cdnverify-subdomain, but I think this is only if the URL we are using for the custom domain is in use. Is this correct?

Is there any way to avoid this downtime or should this not happen?

Upvotes: 0

Views: 2773

Answers (1)

Nancy Xiong
Nancy Xiong

Reputation: 28274

but I think this is only if the URL we are using for the custom domain is in use. Is this correct?

Correct. The link states that when you map an existing domain that is in production. First map your custom domain to your CDN endpoint hostname with the Azure cdnverify subdomain to create a temporary CNAME mapping. so you can access your custom domain URL without interruption while the DNS mapping occurs.

Is there any way to avoid this downtime or should this not happen?

If you have verified that the cdnverify subdomain has been successfully mapped to your endpoint, you can then map the custom domain directly to your CDN endpoint hostname. After creating CNAME for your custom domain, you can delete the temporary cdnverify subdomain CNAME record. It should avoid this downtime.

Upvotes: 1

Related Questions