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.
Hit Add website
Enter your domain e.g. mywebsite.com
Choose the free plan and click Continue. Follow the steps they ask you to do to set up the domain
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
Complete your nameserver setup
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:
The screenshot shows an example. You must use nameservers that suggest you use Cloudflare in the connection process.
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.
Choose your encryption mode. Go to SSL/TLS > Overview and set it to Full or Full (strict).
Navigate to SSL/TLS > Edge Certificates. Make sure the "Universal" certificate has status "Active". If not, turn it on.
Enable "Always use HTTPS" page rule. Scroll down and enable the "Always Use HTTPS" option.
Please do not use Cloudflare™ Rocket Load. It will break our script.
If something is not going smooth, simply chat with us 🤓
Updated on: 13/10/2023