Domain Setup

Setting up your domain in Cloudflare

This is necessary only when connecting your main domain because Cloudflare allows creating an empty "@" CNAME Record, which is needed for pointing your domain to blogstatic.

Creating an account in Cloudflare

Creating a new account in Cloudflare is free. All you need is a valid email address.

Go to their Sign up page and create your account.

Cloudflare sign up form
Cloudflare "Sign up" form

Adding your domain

Once in, visit the "Websites" tab on the left of the Cloudflare dashboard.

Cloudflare dashboard menu
Cloudflare dashboard menu

On the next screen (Websites), click on the "Get Started" button.

Enter the domain you want to connect, and click "Continue"



Once that is done, you will be given a screen to select a plan.

Scroll down and select the "Free" plan, which is what we need for our purposes.

Hit "Continue".

DNS records' scanning

Cloudflare will quickly scan your current DNS records so you can import them without entering every single one individually.

Also, you can choose at this point to enter your DNS records, depending on which type of domain you're connecting:

Nameservers

After hitting "Continue" on the previous screen, you'll be presented with your new Nameservers.

They will look something like this:

Cloudflare sample nameservers
Cloudflare Nameservers

To add them to your domain registrar, do the following:

  1. In your domain name's registrar (Name.com, Google Domains, etc.) find the Nameserver page for your specific domain
  2. Remove any existing nameservers and enter only your new Cloudflare nameservers
  3. Save this change

Note: It may take up to 24 hours for nameserver changes to be updated. However, from our experience, we usually notice changes being updated after several minutes.

Quick Start Guide

On the next screen, please make sure to select the following to optimize your site:

  1. Automatic HTTPS Rewrites = On
  2. Always Use HTTPS = On
  3. Auto Minify: Choose "Javascript" + "CSS" only.
  4. Brotli = On

Click "Finish"

At this point, you are done setting up your domain on Cloudflare.

Next, move on to connecting your main domain or subdomain.