This guide will walk you through creating a Cloudflare account and importing your existing DNS records
Step 1: Create a Cloudflare Account
First things first, you'll need a Cloudflare account. If you already have one, you can skip to the next step.
-
Go to the Cloudflare website and click on the "Sign Up" button.
-
Enter your email address and create a password. Click "Create Account."
-
Add your website. Enter your domain name (e.g.,
yourdomain.com) and click "Add Site." -
Select a plan. For most users, the "Free" plan is sufficient to get started. Click "Continue."
Cloudflare will then scan your domain's existing DNS records.
Step 2: Download Your DNS Backup File from JetBackup
Next, you need to get a copy of your current DNS records from your hosting control panel.
-
Log in to your cPanel account.
-
Navigate to the JetBackup section and click on Domains.
-
Select the backup from the most recent date and click the Download button to generate backup.
-
Once that's done, click the Downloads Icon (on the left panel) and select Download. This will save a file to your computer.
- You can then extract the downloaded
download_*.tar.gzfile and navigate into the\backup\domain\folder to find your DNS Zone file.
Step 3: Import Your DNS Records into Cloudflare
Now, you'll upload the DNS file you just downloaded to your Cloudflare account.
-
In your Cloudflare account, after the initial scan, you'll see a page with your DNS records. Click on the Advanced button and select Upload.
-
Select the DNS backup file you downloaded from JetBackup. Cloudflare will automatically import these records.
-
Review the imported records. It's crucial to ensure your email will continue to work correctly. Find the MAIL "A" record (usually named mail.
yourdomain.com). Click the orange cloud icon next to it to turn it off (it should say "DNS Only"). This ensures your mail traffic is not proxied by Cloudflare. -
Once you've confirmed the records, scroll down and click Continue.
The final step is to tell your domain registrar to use Cloudflare's nameservers. This directs your website traffic through Cloudflare.
It may take a few hours for these changes to update across the internet. Cloudflare will send you an email once your site is active.