question

Lars-9823 avatar image
0 Votes"
Lars-9823 asked Lars-9823 commented

How do I change Azure CDN from Verizon to Microsoft without downtime?

I'm on the Azure CDN from Verizon. I want to move to Microsoft's CDN offering, because Verizon doesn't handle brotli compression properly.

I need to keep using the same domain. So my Verizon CDN is currently on the domain cdn.mydomain.com, and I want to set up a Microsoft CDN using that same domain.

I've set up a Microsoft CDN in Azure. If I try to add "cdn.mydomain.com", it complains that it cant find a the expected CNAME record for that domain. Of course, the current CNAME record points to the Verizon CDN.

If I go ahead and change the CNAME record for "cdn.mydomain.com" to point the Microsoft CDN, there will be effectively be a downtime from the time I change the CNAME record to the time the Microsoft CDN has been able to verify the ownership of the domain. Last time I tried, this verification process can took about 30 minutes, from what I read it can take up to an hour. If it takes 1 hour, that's 1 hour of downtime.

How can I work around this so I avoid the downtime? Are there alternative ways of verifying that I own the domain, other than changing the CNAME record?

azure-cdn
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

suvasara-MSFT avatar image
0 Votes"
suvasara-MSFT answered Lars-9823 commented

@Lars-9823 , You should be able to achieve this using "cdnverify.<custom-domain-name>". Here is a doc explaining about mapping the temporary cdnverify subdomain with our production custom domain.

Add this CNAME entry into your domain registerer list,

97235-241422-image.png

Once you've added this, you'll have to wait for some time due to DNS propagation before you verify your custom domain. If done with all the configuration and verification needed for your new CDN endpoint, that's where you can now point the actual CNAME record of your DNS to your new CDN hostname that will be used in production. Once you do this, it's now safe to delete the CNAME record with cdnverify subdomain.


Please do not forget to "Accept the answer" wherever the information provided helps you to help others in the community.



241422-image.png (2.8 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Perfect, that solved it for me. Thanks for your help.


0 Votes 0 ·