Skip to main content

Setup your Domain with Cloudflare

To use Cloudflare as your domain controller, you need to have a domain name already purchased. I use Porkbun because they have a very user friendly dashboard and each domain comes with free domain privacy or redaction.

image-1600534009520.png

Once you have your domain purchased, you need to create a free Cloudflare account.

Adding your domain to Cloudflare

The first time you log in to Cloudflare you'll see place to add your domain name.

image-1600534217515.png

Now click "Add site" then choose the free plan and click "Confirm plan".

image-1600534298291.png

Now Cloudflare will scan your current dns records. These records will most likely be using the DNS records of your domain reseller. In my case it would be Porkbun DNS.

image-1600534340939.png

Since this domain is already using Cloudflare, it shows the cloudflare dns IPs

image-1600534498487.png

Now click  "Continue". Next we have to replace the domain reseller name servers with the provided Cloudflare name servers. again, I already did this.

image-1600534652967.png

Don't click "Done" until you go to your domain provider and change the name servers. This is where you do it in Porkbun.

image-1600534759254.png

Once the domain name name servers have been changed, click "Done" in Cloudflare.

Now it will take you through a "Quick start guide" where you can make a few adjustments to your settings.

image-1600534960205.png

I like to set the Encryption method to FULL because this seems to be the best suited option when using a reverse proxy.

image-1600535056344.png

I turn on "always use HTTPS" because this will automatically send traffic through your SSL.

image-1600535095622.png

Auto Minify. I never check or change anything here. Just click "Save" and move on.

image-1600535220783.png

By default, Brotli is on. Leave this as is. It's always good to have more speed!

image-1600535242104.png

Finish the guide and wait for your domain servers to change to Cloudflare.

image-1600535350724.png

You can click "Re-check now" once to get a status update. You will get an email when your domain is ready to be managed through Cloudflare.

Now you can ping your domain to see that it is indeed using the Cloudflare DNS.