How to Change Hosting IP and DNS IP in Cloudflare Easily 2026
By Impran M N
A server migration means every DNS record pointing to the old host needs updating, not just the root domain. This guide walks through changing your hosting IP across A and AAAA records in Cloudflare, including related subdomains.
01Open your domain's DNS zone
Navigate to your active domain and open the refreshed DNS Records grid view.
02Edit your root A record
Locate your main website root A record and click the Edit action component.
03Update to the new IP
Highlight the old hosting server IP and paste in your new core server destination address.
04Check subdomain pointers
Review related subdomains like www or mail roots to make sure they align with the correct matching target fields.
05Save and confirm
Adjust your proxy status and TTL parameters, save to deploy the changes, and run a live ping test to verify the new routing.
Frequently asked questions
Do I need to update every subdomain manually after a migration?
Yes, each subdomain record is independent, so you'll need to check and update any that pointed to your old hosting IP.
How can I avoid downtime during a hosting IP change?
Making the switch during low-traffic periods and confirming with a live test right after saving helps minimize any impact from propagation delay.
Should I lower the TTL before migrating?
Lowering TTL ahead of a planned migration can help changes propagate faster when you do make the switch, though Cloudflare's Auto TTL is usually sufficient for most cases.
What if my new host uses a different IP for IPv6?
You'll need to update or add a separate AAAA record with the new IPv6 address if your new host supports it.
Watch the full walkthrough
The same steps, demonstrated on screen from start to finish.



