Easy Tech Tuts
Cloudflare

How to Change IP in Cloudflare Easily 2026

By Impran M N

Moving to a new server means your Cloudflare DNS records need to point at the new IP, or visitors will keep hitting your old host. This guide walks through editing your A and AAAA records safely during a migration.

01Open the DNS Records grid

Select your domain and navigate to the DNS Records panel in the sidebar.

02Find your root A record

Locate your main website A record and click Edit.

03Replace the old IP

Clear out the old server IP and paste in your new hosting destination address.

04Check subdomain pointers too

Review related subdomain records like www or mail to make sure they align with the new target where needed.

05Save and test

Adjust your proxy status and TTL as needed, save the change, and run a live ping test to confirm the new routing is working.

FAQ

Frequently asked questions

Do I need to update AAAA records too, or just A records?

If your new server supports IPv6, you'll want to update the AAAA record as well; otherwise you can remove it if it's no longer applicable.

Will changing my IP address cause downtime?

There can be a brief propagation window while the change spreads across DNS resolvers, so testing at a low-traffic time helps minimize disruption.

Should I proxy the record after changing the IP?

Keeping it proxied (orange cloud) preserves Cloudflare's caching and security benefits, while DNS Only exposes your new server's IP directly.

How do I confirm the new IP is actually live?

Run a ping or dig command from your terminal after saving to confirm the domain now resolves to the updated address.

Watch the full walkthrough

The same steps, demonstrated on screen from start to finish.