If you’d like to start using Cloudflare as your DNS provider:

Step 1.
Create a Cloudflare account here

Step 2.
Add your domain

Step 3.
Select the free plan

Step 4.

Cloudflare will perform a quick scan to pull in your existing DNS records which is pretty sweet since it saves you an extra step of copying in your DNS records manually.

Verify that DNS records below are configured correctly, then press Continue.

Step 5.

Cloudflare will present you with NS records which you’ll need to add to your domain registrar (e.g. GoDaddy, name.com, etc)

PLEASE NOTE: If your email is configured through your DNS records, this step will likely result in a few minutes of downtime for your email.

Step 6.

Cloudflare then leads you through a few optimization questions - you can leave all the defaults.

How to set up a root (non-www) domain on Cloudflare

(e.g. https://yourdomainname.com)

Step 1.

In your Strattic Dashboard, go to your site, and then click on “Details”

Step 2.
a) Click “Domain” from the menu

b) Enter your custom domain (i.e. yourdomainname.com)

c) Click “Continue”

Step 3.
You'll see a CNAME record displayed that is used to verify that you own this domain so that the SSL certificate can be generated.

Step 4.

Add the CNAME into Cloudflare like in the screenshot below.

For the “Name”, you’ll only need the initial part
(e.g. _d2d081aafd36c470a1b632f29ddb63d5111) and you don’t need to include the domain name.

Please make sure to use the Proxy status of “DNS only” by clicking on the cloud icon.

Step 5.
Please wait up to 30 minutes for this verification process to complete.

Once your SSL certificate is set up, you can move on to the final steps for pointing your domain to Strattic.

You’ll see a CNAME like this in your Strattic domain settings:

Step 6.
Add the next CNAME record that displays in the Strattic Dashboard to Cloudflare as follows. Please make sure to use Proxy status of “DNS only” by clicking on the cloud icon

Step 7.
Add a new CNAME record to Cloudflare as follows with www for the "Name" and your domain name as the "Target". Please make sure to use Proxy status of “Proxied”

Step 8.
Go to Rules > Page Rules, then click the Create Page Rule button.

Step 9.
Create a page rule as follows:

If the URL matches: *www.yourdomainname.com/*

Forwarding URL: https://yourdomainname.com/$2

Step 10.

SSL in Cloudflare should be set to "full"

Step 11.

That’s it! You may need to wait up to 24 hours for the DNS to finish propagating properly.

Also, don’t worry about the DNS record saying “Heads up!” in the Strattic Dashboard (it’s because of the root domain setup) - you’re still good to go 👍

Did this answer your question?