How to Protect a Website with Cloudflare WAF

Introduction

This guide explains how to protect your website using Cloudflare Web Application Firewall (WAF).
Cloudflare sits in front of your website and filters all incoming traffic. By changing your DNS to go through Cloudflare, you get:

The process takes a few steps, but once set up, all visitors to your website are automatically filtered through Cloudflare before reaching your server.

Step 1: Log in to Cloudflare

Go to https://dash.cloudflare.com and log in with your account.

image.png

Step 2: Add Your Website
  1. In the dashboard, click + Add at the top.

  2. Select Connect a domain.

image.png

Step 3: Enter Your Domain

Type your domain name (example: yourdomain.com) and click Continue.

image.png

Step 4:  Choose a Plan

Cloudflare will ask you to choose a plan.

Step 5: Review Your DNS Records

Cloudflare scans your existing DNS records.

image.png

Once ready, click Continue (you don’t need to tick the checkboxes).

Step 6: Change Your Nameservers

Cloudflare will give you two new nameservers.

Go to your Cloudflare dashboardWebsites → select your domain → DNS → scroll to Cloudflare Nameservers section.

image.png

image.png


Your registrar Replace: ns1.oldprovider.com ns2.oldprovider.com With Cloudflare: ada.ns.cloudflare.com josh.ns.cloudflare.com
Step 7: Wait for Propagation

DNS changes take time. Usually, 15 minutes up to 24 hours.
When Cloudflare detects the change, your site will show as Active in the dashboard.

image.png

Step 8: Enable WAF Protection

image.png

Step 9: Verify

 

If you need further assistance, kindly contact our technical support at support@cytechint.com for prompt assistance and guidance.


Revision #3
Created 7 September 2025 07:38:13
Updated 9 September 2025 03:27:48 by Richmond Abella