Have you been using Cloudflare to point your domain to hosting, but your hosting IP changed or you moved to a new host? Don't worry, here we will discuss how to set the IP from Cloudflare to your hosting, especially for cPanel.
Before we start, we are not covering how to connect a domain to Cloudflare, but rather how to redirect a domain already using Cloudflare to a new IP or hosting. This assumes that you already have a domain currently connected to Cloudflare.
How to Set the IP from Cloudflare to cPanel Hosting
To set the IP from Cloudflare to your hosting, there are a few steps you need to follow, including
- Getting the Hosting IP Address
- Logging into Cloudflare
- Finding the DNS Record and Updating it with the New DNS
So let's get right to it. Here is the explanation for each of those steps.
1. Getting the Hosting IP Address
Usually, you will receive your hosting IP address when you purchase new hosting, or if there is an IP change on the hosting you are using.
However, if you did not receive this information, you can log in to cPanel and then check the panel from your cPanel dashboard General Information and it will be listed there as Shared IP Address, for example 192.168.1.1
Now that you have the hosting IP you are using, you can proceed to the next step.
2. Logging into Cloudflare
Usually, when you hear about logging into Cloudflare, you probably think of accessing cloudflare.com and then logging in.
However, there is actually an easier way to log in, which is by accessing https://dash.cloudflare.com/. After accessing dash.cloudflare.com, you can directly enter your Cloudflare username and password to log in and manage your domain.
After logging in, you can search for the domain you want to point to the new IP, for example the domain partof.my.id
Click on that domain name and you will be directed to the page for managing the domain.
3. Finding the DNS Record and Updating it with the New DNS
The point of finding this DNS record is so you can locate which DNS should be pointed to the new IP. For example, if you have 20 DNS records and only want to change the IP for the main domain, you can search for the DNS record for the main domain, such as partof.my.id, without changing other subdomain records.
To perform this search, you can open the menu DNS > Records.
After finding the DNS that you want to change or update, you can then click the menu Edit and change the IP being used to the new IP.
You only need to change the IP field, then click the button Save to save. For other options, you can just leave them as they are without editing them.
Now you can try accessing your website that uses Cloudflare again, and if the IP being used is correct, your website should be accessible as normal.
If it still cannot be accessed normally, you can double-check the IP being used, try accessing it with a different network, or use a private tab.
COMMENTS
Loading...