Are you using Cloudflare CDN?
Have you changed your hosting provider or planning to change?
And thinking what to do with the Cloudflare settings to use it after changing the hosting provider?
So, You are in the right place because we are going to discuss exact same here.
When I started using Cloudflare CDN, I was surprised after seeing the improvement in the speed and performance of my website.
Using CDN is the best and working way to increase the loading speed of your WordPress website so I am sure you don’t want to lose this after migrating the host.
If you are new in the CDN then here is what is CDN? If you already know this then feel free to jump to the next section of the post…
Table of Contents
What Is CDN?
A content delivery network or content distribution network (CDN) is a geographically distributed network of proxy servers and their data centres. The goal is to distribute service spatially relative to end-users to provide high availability and high performance. by Wikipedia
Let me explain it more so you can understand more easily.
A Content Delivery Network (or Content Distribution Network) is a system of strategically positioned servers around the globe. The main goals of a CDN are speed, scalability and high-availability.
Usually, when a user visits your website, they first come across your web host’s server(like Bluehost, HostGator).
But If your website has high volume traffic then your website can overload which can make your website load slow or maybe can lead server crash.
So, CDN can help you to save your website from loading slow or crashing, When you use a CDN, your content cached and stored on all its servers. Now when a user visits your site (original server), the CDN technology redirects them to the closest server to their location.
A CDN service has its servers in the different locations to deliver your content fast to nearby users who are visiting your website. Let’s read below example to understand this.
For example, Three users are trying to access your site from the different location like first from the United States, second from the United Kingdom and third is India then they can access your website with the closest server.
Below image will help you to understand this more easily:
Cloudflare is known as the one of best CDN provider and the best part is, It has a free plan as well so beginners can easily use it. Here is the video for you to setup Cloudflare if you don’t know how…
Setting up Cloudflare for a new website is not a tough task but what to do when you migrate your hosting provider.
It is easier than setting up Cloudflare for a new website, In this post, You are going to learn What settings will you need to do after migrating host in Cloudflare?
Settings In Cloudflare After Changing Host
As I said above, Using Cloudflare after changing the host is easier than creating a new Cloudflare account for your website.
Here are the steps you need to do when changing a hosting provider…
- Download and Upload files from your old to a new host
- Export and Import MySQL database
- Point DNS to the New Host
The 3rd step is important for us now, This is what you will take care of…
If you were using Cloudflare with your old hosting provider so you were pointed to your domain to Cloudflare using their nameservers which they have provided you.
You don’t need to touch the DNS or don’t need to point your domain to the new host rather all step you need to do in your Cloudflare account.
So, open your Cloudflare account by clicking here.
Then go to DNS Settings…
And change server IP address from your Old Host to New Host in the Value column, simply double click on the IP Address to change.
Change all sections which are pointed to your old host IP, point them to the new server IP address.
This is all you need to do for using Cloudflare after migrating hosting provider.
But now you might be thinking that how to find IP address of your new host.
How To Find New Host IP?
When you have changed your hosting provider and want to change the IP in Cloudflare DNS that time one thing which is really important to know, what is your new host server IP Address?
But wondering how you can find it?
It is very easy to find new host IP, Just login to your Cpanel and find Server Information or Expand Stats, mostly host has it in their Cpanel.
Find the section where is your IP Address mentioned like shown in the below image…
You can read this for more information about how to find the server IP address in various hosts?
I am using Cloudflare from day one of my blog, I must say that Cloudflare really helps in improving the loading speed of my blog.
I always recommend beginners who are searching for methods to increase the loading speed of their website.
When you are planning to change the hosting provider then don’t forget Cloudflare otherwise you will lose the speed and performance you were getting before.
I have shared the steps you need to do after changing the host in order to use Cloudflare with the new host, I hope you liked this post and found it helpful too if you did then share it with others.
If you still have anything uncleared then consider leaving a comment below…