Domain

How to Connect Cloudflare to Your Website

Introduction

Cloudflare is one of the most popular CDN and website security platforms used to improve website speed, security, and performance.

Connecting your website to Cloudflare helps protect your website from attacks while also improving loading speed using global CDN caching.

This beginner-friendly guide explains how to connect Cloudflare to your website step-by-step.

Benefits of Using Cloudflare

  • Improved website speed
  • Free CDN services
  • Free SSL certificate
  • DDoS protection
  • DNS management
  • Website firewall protection
  • Reduced server load
  • Improved SEO performance

Step 1: Create a Cloudflare Account

Visit https://www.cloudflare.com.

Create a free Cloudflare account using your email address and password.

Configure WordPress Cloudflare CDN: Easy-to-Follow Guide

Step 2: Add Your Website

After logging in, click on Add Site.

Enter your domain name and click Continue.

How to Install Cloudflare on Your WordPress Site

Step 3: Select a Cloudflare Plan

Cloudflare offers multiple plans.

For most websites, the Free Plan is enough.

Select the Free plan and continue.

How to Set Up Cloudflare with Linode |
Linode Docs

Step 4: Review DNS Records

Cloudflare will automatically scan your existing DNS records.

Verify that important records are available:

  • A records
  • WWW records
  • MX records
  • Mail records
  • Subdomains

Incorrect DNS records may cause website or email issues.

CrownCloud Wiki - Cloudflare Dns Management

Step 5: Change Nameservers

Cloudflare will provide two custom nameservers.

You must replace your current domain nameservers with the Cloudflare nameservers from your domain registrar account.

For example:

  • abby.ns.cloudflare.com
  • mark.ns.cloudflare.com

Your actual nameservers may be different.

Change your nameservers (Full setup) · Cloudflare DNS docs

Step 6: Update Nameservers at Domain Registrar

Login to your domain registrar account such as:

  • GoDaddy
  • Namecheap
  • Hostinger
  • BigRock
  • Bluehost

Replace existing nameservers with Cloudflare nameservers.

Save the changes.

How to update DNS Nameserver on Godaddy?

Step 7: Wait for DNS Propagation

Cloudflare activation usually takes a few minutes, but global DNS propagation may take up to 24 hours.

During this time, some users may still see the old DNS records.

How to Check Cloudflare DNS Propagation

You can verify DNS propagation using:

https://www.whatsmydns.net

Select the NS record type and search your domain.

If the Cloudflare nameservers appear globally, the setup is complete.

Cloudflare Setup | CloudPanel CE | Documentation

Step 8: Enable SSL Protection

Inside Cloudflare dashboard, open:

SSL/TLS

Select:

  • Flexible SSL
  • Full SSL
  • Full Strict SSL

For HostPeppy hosting, Full SSL is generally recommended.

Introducing Automatic SSL/TLS: securing and simplifying origin connectivity – GIXtools

Step 9: Enable Performance Optimization

Inside Cloudflare dashboard, enable:

  • Auto Minify
  • Brotli Compression
  • Caching
  • Image Optimization
  • HTTP/3

Common Cloudflare Problems

1. Website Not Opening

Verify DNS records and wait for propagation.

2. SSL Error

Ensure SSL mode is configured properly.

3. Email Not Working

Verify MX records inside Cloudflare DNS settings.

4. Infinite Redirect Loop

Incorrect SSL settings can cause redirect issues.

Why Cloudflare Helps SEO

  • Improves website speed
  • Enhances Core Web Vitals
  • Improves uptime reliability
  • Provides security against attacks
  • Improves user experience

Faster website, more customers: Cloudflare Observatory can help your business grow

Need Help?

If you need assistance connecting Cloudflare with your website, the HostPeppy support team is available 24/7.

We can help configure Cloudflare, DNS settings, SSL certificates, caching, and security optimization.

Still need help?

Our support team is available 24/7 to assist you with any hosting questions.

Contact Support