Articles on: Custom domain

Connect Cloudflare

Before proceeding with the setup, ensure that your website has a valid SSL certificate.



Once done, you can proceed to connect with Cloudflare.

To set it up, sign up the Cloudflare.

1. Hit Add website





2. Enter your domain e.g. mywebsite.com



Domain entry field


3. Choose the free plan and click Continue.



Follow the steps they ask you to do to set up the domain

Choosing a plan


4. Review your DNS recordss.



Cloudflare will automatically scan your domain's DNS records. Make sure all of your DNS records are there. This should include at least the A record for your domain (example.com) and "www" (www.example.com) and email records if you have them. Add any missing records. Remove any records you don't want to be proxied by Cloudflare. Then click Continue

Reviewing DNS records

5. Complete your nameserver setup



Changing nameserver


At this step, you should go to your registrar account. The process for this varies depending on who your domain registrar is.

Find Nameservers in the dashboard. Then select the Custom DNS option.


Copy the suggested Cloudflare nameservers and paste them into the appropriate fields in the account register dashboard, as shown here:

Nameservers suggested by Cloudflare
The screenshot shows an example. You must use nameservers that suggest you use Cloudflare in the connection process.

Completing nameserver setup

Once you've changed the nameservers with your domain registrar, click on "Done, check nameservers". It might take up to 24-48 hours for the changes to take effect, due to DNS propagation times. You will receive an email when your site is active on Cloudflare.

6. Choose your encryption mode.



Go to SSL/TLS > Overview and set it to Full or Full (strict).

Setting SSL/TLS encryption mode

7. Make sure the "Universal" certificate has status "Active". If not, turn it on.



Navigate to SSL/TLS > Edge Certificates.

Edge certificates


8. Enable "Always use HTTPS" page rule.



Scroll down and enable the "Always Use HTTPS" option.

"Always use HTTPS" rule activating

Please do not use Cloudflareâ„¢ Rocket Load. It will break our script.


If something is not going smooth, simply chat with us 🤓

Updated on: 21/05/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!