My server will migrate. Need I do anything on my settings in Cloudflare?

Hi,

My host provider will migrate my server to from one computer to another, and change the IP address as well. Do I need to make any changes on my settings in Cloudflare account?

Thanks

Assuming you have an A record containing the IP address of the old server, you’ll need to change that to use the new IP address they will give you.

If instead you have a CNAME pointing to their domain, then you shouldn’t need to change anything.

2 Likes

@i40west

Thank you for your reply. It seems that there are many A records pointing to the old IP address. These are automatically cloned from my original DNS zone by Cloudflare, when I adding my domain to Cloudflare.

Is there a way to let Cloudflare auto-update all the IPs? It is time-consuming to edit all these A records manually.

Or, if there is a search & replace feature to find all old IP and then replace it with the new one?

There’s no automatic way, no.

It’s possible that your old DNS provider had a wildcard record, and that could have resulted in a bunch of A records being created that you don’t actually need. You need one for the root domain, probably one for a www version of your domain, possibly ones related to email or ssh, and the others may be unimportant. Which doesn’t help you right now because you would still have to delete the useless ones manually, but it might be good to clean up your DNS entries anyway, to make things easier in the future.

2 Likes

In my original server, I use cPanel, which will create many A records for a domain automatically, such as

autoconfig
cpanel
web
…

and I recall when I add my domain to Cloudflare, it just clone all these records to Cloudflare DNS zone, then ask me to update the DNS server on my domain provider, GoDaddy.com.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.