Changing nameservers for Cloudfare

Hi, I recently added an account to my infinity free account with a custom domain from Freenom. Everything is working fine, I correctly added the domain to my cPanel.

I tried to alter Cloudfare from the cPanel itself but it doesn’t work cause I already have a Cloudfare account. So I tried adding the domain on their site but it needs nameservers changing.

When changing the nameservers by those needed by Cloudfare, my site is successfully registred in Cloudfare but doesn’t work.

Can someone help me ? Thanks.

From the KB article “Cloudflare shows “Error 1016: Origin DNS error””:

Fix your Cloudflare DNS records

You need to make sure Cloudflare has correct DNS records for your domain.

You can try to fix the records manually by first deleting all DNS records currently in Cloudflare. Then, you’ll want to add the following DNS records:

  • CNAME record with source @ and the target being your account’s main domain. How to find your main domain.
  • CNAME record with source www and target @ .
  • MX record with source @ and target mx.epizy.com (to receive email).
  • An additional CNAME record for every subdomain. So if you have a subdomain “blog”, you need to add a CNAME record with source blog and target @ .

Thanks for replying to my thread, I’ll try the manipulation and will tell you if I encounter any problems.

1 Like

Sorry for asking again but I don’t understand the 4 points where I have to add the types of records they ask, where can I have more informations regarding that ?

You have to add the records on your Cloudflare dashboard, selecting your domain and clicking on the “DNS” page.

What doesn’t work exactly? What do you see when you try to access your website?

Note that nameserver changes take up to 72 hours to take effect. So if you only just changed the nameservers, you may just need to wait for a bit to work.

1 Like

I changed the DNS records of my domain and pointed them to those of Cloudfare : “gabe.ns.cloudflare.com” and “naomi.ns.cloudflare.com
and now when I try to access the site, I have this :

This site is inaccessible
Can not find lastlife.ml’s IP address.

Try to run Windows Network Diagnostics.
DNS_PROBE_FINISHED_NXDOMAIN

That’s not entirely how it’s supposed to work.

How it’s supposed to work is that:

  1. Your domain registrar points your domain name to Cloudflare’s nameservers.
  2. Cloudflare’s nameservers have DNS records to point the domain to our servers.
  3. Our servers have records of your domain name to link it to your hosting account.

You don’t need to configure anything in Cloudflare to point your domain to Cloudflare (why would you need to configure a service to use themselves?), you need to configure Cloudflare to point your domain to us.

1 Like

The question is how can I make these changes ? I don’t even understand how I’m supposed to do that.

What I said, but edited:

Thanks it worked, I just haven’t followed what you’ve told me.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.