This tutorial is deprecated in favour of Manage DNS records · Cloudflare DNS docs
Archive
What do I need to do at Cloudflare if I change my web host?
If you change the provider hosting your website, most of the work will need to be done there. You will need to add everything to your new host.
Once this is done, however, you will need to update your DNS records in Cloudflare to point to your new host.
To do this, you will need to find out what DNS records you need from your new host. These will often appear in a DNS section of your control panel. If they don’t, you will need to contact their support and ask them.
To point your website to the new host, you will need an A, AAAA or CNAME record pointing there. The most common is an A record for yourdomain.com
and one for www.yourdomain.com
pointing to the IP address specified by your host.
These will look like this:
Sometimes they will ask you to create a CNAME record for www
instead, such as this:
If you have @yourdomain.com
emails that are hosted with your web host and these are changing providers too, then you will need to update your MX records, also in the DNS app in the Cloudflare dashboard:
There is also a tutorial on Deprecated - Editing DNS Records.
Tutorial Reference: CT-20
Reviewed: 07/21
This is a Community Tutorial, most are wiki posts, so can be contributed to by Regulars and MVPs here. If there is a tutorial you would like to see, you can request one here .
If you would like to provide any feedback on this tutorial, please post in the #Meta category, tag your post #TutorialFeedback and let us know the Tutorial Reference above.
Other great resources on this community include the Community Tips . These address best practiceswhen configuring Cloudflare, how to fix issues you may see, and tools to troubleshoot. Also you can view Expert Tips, great posts on the community from people in the know that may help you with your issue.
We encourage users to check out these great resources and the Cloudflare Support Centre before posting