Step 1: Adding your domain to Cloudflare

This tutorial covers creating a Cloudflare account, adding a domain, changing nameservers and checking imported DNS records.

Sign up

Go to, enter your Email and create a password, read the terms and notices and click ‘Create Account’

Add site

Enter your domain. This has to be your actual domain (e.g. or and must not include any domain specific hostnames (e.g. or similar). Furthermore the domain has to be an immediate child of an official top-level domain (or one of its official second-level domains). is permitted, is not.
See for a full list of accepted parent domains.

Select your plan

Choose your plan, you can always start with Free and consider upgrading later.

Wait for Cloudflare to Import your DNS Records

Important: Check that the DNS records found match those listed at your domain registrar / web host and add any that are needed.
If you skip this step your website might not resolve.

Click any orange clouds (:orange:) to turn them grey (:grey:) and click ‘Continue’ - this is to avoid downtime during the transfer process, and the :orange: can be enabled later. See How to eliminate (or minimise) downtime when adding your domain to Cloudflare and Step 3: Enabling the 'Orange Cloud' for details.

Then click ‘Continue’.

Change your nameservers

Copy the nameservers required by Cloudflare

Log in to your domain registrar and edit the nameservers to the ones provided by Cloudflare. You must remove any extras and ensure you only have the two nameservers that Cloudflare provides. Also make sure you are changing the authoritative nameservers at your registrar, not adding NS records at your DNS provider.

Once you have changed them, click ‘Continue’ on the Cloudflare page. Cloudflare will then automatically scan for the change, you may be able to speed this up by clicking the “Re-check Now” button.

If it’s you first time using Cloudflare, you may want to follow the Quick Start Guide to help you get set up. Otherwise, choose Finish later to get straight to your dashboard.

Your nameserver change can take up to 48 hours to propagate, once it does you will see this message.

Configure basic settings for your site

See Step 2: Setting up SSL with Cloudflare for full details on SSL/TLS mode.
If you don’t want your site to use HTTPS, set the SSL/TLS mode to ‘Off’
If you do, make sure you have a valid SSL certificate on your server and set it to Full (strict). If you don’t already have a certificate, set it to ‘Off’ for now and deal with SSL later. You can follow the linked tutorial for further information, including using a free Cloudflare Origin Certificate.

Check the rest of the settings (click help next to them for more info) and click ‘Done’

Check your site

Visit your website and check that it is functioning correctly

If you have completed this, it looks like you are ready to move on to Step 2: Setting up SSL with Cloudflare!

This tutorial is one in the ‘Getting setup with Cloudflare’ series. They are listed below:

Tutorial Reference: CT-01

Reviewed: 07/21

This is a Community Tutorial, most are wiki posts, so can be contributed to by Regulars and MVPs here. If there is a tutorial you would like to see, you can request one here.

If you would like to provide any feedback on this tutorial, please post in the #Meta category, tag your post #TutorialFeedback and let us know the Tutorial Reference above.

Other great resources on this community include the Community Tips . These address best practices when configuring Cloudflare, how to fix issues you may see, and tools to troubleshoot. Also you can view Expert Tips, great posts on the community from people in the know that may help you with your issue.

We encourage users to check out these great resources and the Cloudflare Support Centre before posting

Step 2: Setting up SSL with Cloudflare
Step 3: Enabling the 'Orange Cloud'
SSL + email + what else am I forgetting?!
Community Tutorials
Getting started 2
Why my ssl sertificate didn't work? I do all things
Setting up Cloudflare for Reverse Proxy
I need SSL for my custom domain for teachable. Need it from you as my new hosting platform
Domain on godaddy, hosting namecheap Can i use Cloudflare?
Add a .cl domain to my account
World4you cloudflare installation on Austrian server
How to completely integrate a website from scratch
Where are my Nameservers?
How to add Nameservers?
Cloudflare setup in Namecheap Easywp wordpress hosting
How to get started with Cloudflare DNS
Images are broken on website after setting cloudflare
Unable to add records
Dns domain
How to enable cloudflare for all page site
How to use the Cloudflare just one sub-domain without change the main domain
Error 520 on my website
Is there any way to add a site with subdomain?
Changing DNS records and A record
How to secure new website with cloudflare?
Bad server it make my website stop not work when i buy argo make issue then website stop
I am receiving a 502 error page when I test my button on my facebook business page
VPS + Cloudflare + Cpanel email
Registrar: Transfer domains not on Cloudflare
How to connect the site to the Cloudflare CDN?
How to secure website with cloudflare?
How to configure Cloudflare to website?
Website or zone deleted by accident
Session expired log in
Domain from Google and Website hosted on Godaddy
Installing cloudflare
Can someone help me change my namesaver
Have an issue with enable the cloudflare for the domain via Plesk Panel
Site is down due to DNS CHANGE
Help to activate cloudflare to my website
How to connect cloudfare with reactjs website
Clarification about adding websites
My account domain is offline
How to create new TLD for custome domain in cloudflare.?
Change domain hosting
How to setup 2 domains (one for each language of same site)
Unable to change NS from Cloudflare
Cloudflare produces wrong A record and is pointing to a wrong IP address
How to change DNS for root domain to Cloudflare
Using cloudflare with non-www website
What does it means "1 free website"?
Hosting In SiteGround and connected in SiteGround Can I use Clouldflare NS instead of a CNAME? How?
Cloudflare with Linode
SSL security setup
How do i add wordpress
Domain at namecheap, hosting at do I configure?
DNS Switching
Developer left us
How to replace a domain with another one?
Can i use single domain on multiple cloudflare accounts?
Connecting domains from domain host to a different website host - should I use Cloudflare?
Community Video Tutorials
Need to find out, if possible, what account a domain is using
Name Servers Transfere
Community Tip - Fixing Failed to lookup registrar and hosting information Code: 1110
How do we know if the speed of our site has increased or not?
How can I install cloudflare with namecheap and dreamhost?
How can I install cloudflare with namecheap and dreamhost?
CloudFlare won't force HTTPS
Plesk Obsidian Cloudflare Extension does not work
How to switch hosting only to outside CloudFlare?
Website Down plus incorrect DNS record
Does Cloudflare have an IP?