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.
Adding your domain
Once in, visit the "Websites" tab on the left of the Cloudflare dashboard.
On the next screen (Websites), click on the "+ Add Site" button.
Enter the domain you want to connect, and click "Add site"
Once that is done, you will be given a screen to select a plan.
Scroll all the way down and select the "Free" plan, which is what we need for our purposes.
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:
- Your main domain or
- a subdomain.
After hitting "Continue" on the previous screen, you'll be presented with your new Nameservers.
They will look something like this:
To add them to your domain registrar, do the following:
- In your domain name's registrar (Name.com, Google Domains, etc.) find the Nameserver page for your specific domain
- Remove any existing nameservers and enter only your new Cloudflare nameservers
- 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:
- Automatic HTTPS Rewrites = On
- Always Use HTTPS = On
- Brotli = On
At this point, you are done setting up your domain on Cloudflare.
Next, move on to connecting your main domain or subdomain.