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 Cloudflare.com and click 'Sign Up’

image

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

image

Add site

Enter your domain. This has to be your actual domain (e.g. mydomain.com or mydomain.co.uk) and must not include any domain specific hostnames (e.g. www.mydomain.com 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). mydomain.co.uk is permitted, mydomain.someisp.co.uk is not.
See https://publicsuffix.org/list/public_suffix_list.dat for a full list of accepted parent domains.

Select your plan

image

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’.

Chose the addition method

You can choose the standare method while keeping your domain at your current registrar. Alternatively, if your domain extension is supported, you can add it to Cloudflare Registrar.

Change your nameservers

Copy the nameservers required by Cloudflare

image

Log in to your Domain registrar and edit the nameservers to the ones provided by Cloudflare

Once you have changed them, click ‘Continue’ at Cloudflare

Click ‘Re-check now’

image

The changes may take some time to propagate but you should see this message once it is complete

image

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
image

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: 03/20

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


10 Likes
Step 2: Setting up SSL with Cloudflare
Step 3: Enabling the 'Orange Cloud'
SSL + email + what else am I forgetting?!
Getting started 2
Community Tutorials
Why my ssl sertificate didn't work? I do all things
Hosting In SiteGround and connected in SiteGround Can I use Clouldflare NS instead of a CNAME? How?
Cloudflare with Linode
Bad server it make my website stop not work when i buy argo make issue then website stop
Using cloudflare with non-www website
How to change DNS for root domain to Cloudflare
What does it means "1 free website"?
Dns domain
Images are broken on website after setting cloudflare
How to get started with Cloudflare DNS
Cloudflare setup in Namecheap Easywp wordpress hosting
Where are my Nameservers?
World4you cloudflare installation on Austrian server
Add a .cl domain to my account
How to switch hosting only to outside CloudFlare?
Plesk Obsidian Cloudflare Extension does not work
Name Servers Transfere
Community Tip - Fixing Failed to lookup registrar and hosting information Code: 1110
Need to find out, if possible, what account a domain is using
Connecting domains from domain host to a different website host - should I use Cloudflare?
Can i use single domain on multiple cloudflare accounts?
How to replace a domain with another one?
Cloudflare produces wrong A record and is pointing to a wrong IP address
Community Video Tutorials
Developer left us
DNS Switching
Domain at namecheap, hosting at bluehost..how do I configure?
How do i add wordpress
SSL security setup