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