Home » Latest Posts » How To Import DNS records from Cpanel to Cloudflare

How To Import DNS records from Cpanel to Cloudflare

DNS records

In this article, I provided 3 easy steps to Import DNS records from your Cpanel to your Cloudflare account easily using nameservers.

We provided comprehensive information on dns importation. We categorised it into 3, For newly created sites, Old Sites moved to a new host and domain whose registrar is Cloudflare.

Step by step method to easily import dns records to Cloudflare accounts.

For site/domains new to Cloudflare

For sites and domains new to Cloudflare network. Follow the steps below to import your dns to record to Cloudflare:

  1. Login into your domain registrar account and point directly to your host using the nameservers provided by your host company.
  2. Make sure your site is live and working properly before proceeding to creating a cloudflare account or login into an existing one.
  3. Create a Cloudflare account or login into an existing one and add your new domain at the dashboard.
  4. Proceed with choosing free or any paid plan of your choice until you get to the page were you will be provided with your Cloudflare nameservers and ask to update it at your domain registrar.
  5. Login your domain registrar account, click on your domain manager and open the DNS/namservers record section.
  6. Remove your existing host nameservers and update with the one from Cloudflare and click the save/update button. Make sure that the process is saved.
  7. Go back to your cloudflare page and click the button to confirm that you’ve added the Cloudflare nameservers.
  8. Cloudflare will provide an option to import dns records from your host. Accept the process, when it completes you will see your dns records. Click to save it.
  9. Most times warning pops-out indicating either some missing dns record or an incorrect record which you can figure out yourself by manually copying the affected dns record from your cpanel zone editor page.
  10. Congratulations. You’ve successfully imported your dns records to cloudflare.

For Old Sites moved to a new host

incase you already have an already existing site on Cloudflare that migrated to a new host. Follow the steps below to easily import your new dns records:

  1. Login your domain registrar account and add nameservers from your new host to your domain registrar DNS/Nameservers page and save.
  2. Check to confirm that your site is loading very fine before you proceed to deleting the domain from your cloudflare account.
  3. After the domain is successfully deleted, add the domain again to your dashboard.
  4. Proceed to choosing a free plan and paid plan as in new domain setup, continue to the page that will provide Cloudflare nameservers.
  5. Again, Login your domain registrar account and edit the dns/nameservers record again, replace the existing host nameservers with your Cloudflare nameservers.
  6. Make sure the namesevers are saved/updated and confirm on your Cloudflare domain setup page that you’ve added the nameservers.
  7. Next you will be provided with the option to import dns records from your host, accept, proceed and make sure the process is completed.
  8. Save the dns record. Reload the site and see it working properly or use incognition browser to see live page and use a dns looker website to confirm your Cloudflare nameservers.

Note: If you get a notice that states that some records were not imported. Visit your Cpanel zone editor page to get missing or correct ones and update them.

For domains whose registrar is Cloudflare

For websmasters whose domain registrar is has a more technical approach to this issue, especially when the site in question is moved to a new host.

To get your new dns records to your Cloudflare domain, follow step below:

  1. Do a backup of the entire domain on cpanel.
  2. Access the backup file on your desktop computer. The backup file extension is usually tarball (.tar) that has been compressed using gzip (.gz).
  3. Open the back up file and extract the dns records file (has the domain included) which has a (.txt) extension to you desktop folder.
  4. Login your cloudflare account and import the file on the DNS section of your domain at cloudflare.
  5. Login your dashboard, click on the domain and select dns at the side menu bar and find import dns record option at the top of the page and upload.
  6. Select the txt file, complete the upload process and save.
  7. your dns record should be fully uploaded. Incase you encounter errors make sure you follow the steps promptly and the issue will be solved.

You can request our service incase the steps looks confusing to you.

N/B: the process might look confusing for a newbie, look for a professional to help you with the entire process.

Follow our facebookX and Youtube for notifications on new post.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.