Connecting a domain to Cloudflare
To complete this step you first need to create an account on the website https://dash.cloudflare.com/login.
Why connect a domain to Cloudflare?
Faster website loading.
Protection tools against hackers and DDoS attacks.
Free SSL certificate (your site will be available via https://)
If in the previous step you bought the domain at a Cloudflare registrar - you can safely skip this step. But if the domain was purchased at any other registrar (Namecheap, GoDaddy or another) - follow the instructions below:
Registering with Cloudflare
If the domain has not been purchased yet, buy it first (for example, via Namecheap) and make sure you have access to the registrar account.
Go to the website https://www.cloudflare.com/
To log in/register click the Log In button

If you don't have a Cloudflare account yet, click the Sign Up link below to register.

In the registration form that opens, enter your email address and a strong password for the account. After filling in all fields click the Sign Up button to register.

After completing registration an email from Cloudflare will be sent to the address you provided. Open it and click the Verify your email button to confirm the account.
Adding a domain to Cloudflare
To add a domain to Cloudflare click the + Add -> Connect a domain button

Paste your domain into the field as shown in the screenshot below.

And then click the Continue button below

Cloudflare will prompt you to choose a pricing plan. The Free plan is suitable for basic connection. Click Select Plan.

After selecting a plan a window will open to check DNS records. Cloudflare will automatically import all existing DNS records for your domain. You can select all records and delete them.

After clicking the Delete button a modal window will appear for confirmation. Type Delete in the field as shown in the screenshot below and click the Delete button

After deleting unnecessary DNS records click the Continue to activation button to proceed to the next setup step.

Confirm the message “Without DNS records, Cloudflare is unable to activate your site. It’s best if you set up your DNS records now.” and proceed to the next step.

Next Cloudflare will show the new NS servers (Nameservers), for example: alice.ns.cloudflare.com bob.ns.cloudflare.com Go to your registrar account (in our case the Namecheap account) https://www.namecheap.com/
Then hover over your nickname in the top left corner. In the modal window that appears select the Dashboard.

On the opened page a list of your domains will be displayed. Find the desired domain and click the Manage.

You will go to the domain management page. Find the Nameservers section, click the dropdown and choose the Custom DNS option. After that two fields will appear - enter the Cloudflare NS servers provided to you in them:

After you enter the Cloudflare NS servers click the green checkmark to save the changes.

Then go back to Cloudflare and click the Continue button

Confirmation of changes can take from a few minutes to 24 - 48 hours while the new NS servers propagate across the Internet. After the domain status in Cloudflare changes to Active you can start the site deployment process. You can learn about domain activation:
by the status at the top of the Cloudflare dashboard.


or by an email from Cloudflare notifying you that the domain is already Active

Last updated