Mode Marketing
Client guide Cloudflare front-end

Setup + configuration

Cloudflare front-end setup

What Cloudflare does, when you need it, how to put your site behind it for free, the settings worth changing from defaults, and how to grant Mode access.

Cloudflare sits between your visitors and your hosting server. It caches static content close to wherever the visitor is in the world (fast), absorbs malicious traffic before it reaches your server (safer), gives you free SSL on every domain (no more "Not secure" warnings), and lets you manage DNS from one clean panel (sane). Free tier covers the vast majority of small-business needs.

Setup takes 15-30 minutes. The only part that takes elapsed time is the DNS nameserver change, which can take 5 minutes to 24 hours to propagate (typically under an hour).

01What Cloudflare does

Four jobs, all bundled into the free tier.

  • CDN · content delivery networkCaches images, CSS, JS at edge servers in 300+ cities globally. A visitor in Sydney loads your site from a Sydney edge, not your server in London · pages typically load 2-3× faster.
  • DDoS protectionAbsorbs high-volume malicious traffic at Cloudflare's edge before it hits your origin. Without it, a small attack can knock a shared-hosting site offline for the day.
  • Free SSLHTTPS certificate auto-provisioned for every domain you add. Renews automatically. No more "Not secure" warnings in the browser.
  • DNS managementClean, fast DNS panel · way easier than GoDaddy's etc. Plus DNS-level redirects and page rules.
Paid tier (Pro · $20/month +) Adds image optimisation (auto WebP/AVIF), advanced firewall rules, longer cache TTLs, and image hosting. Worth it for ecommerce or sites with heavy imagery. Free tier covers most Mode client builds.

02When you need it

When to put a site behind Cloudflare · and when not to bother.

  • You almost always want it ifyour hosting is shared (Hostinger, Bluehost, SiteGround), you serve traffic outside the UK, you've seen bot traffic in your analytics, or you've ever had "site is slow" complaints.
  • Optional ifyou're on premium managed hosting (Kinsta, WP Engine) that already does CDN + DDoS at the platform level. Cloudflare still helps but the gain is smaller.
  • Probably skip ifyour site is tiny (one page, a few visits a day), your hosting is local-only (UK-only traffic on a UK host), and you're on a free plan everywhere already.
Our default · we put every Mode-built client site behind Cloudflare's free tier unless there's a specific reason not to. Speed and security wins are too good to skip.

03Setup · adding your domain

15 minutes of clicks plus DNS propagation time.

  1. Go to cloudflare.com and click Sign Up. Free account · no card needed.
  2. Once logged in, click Add a Site. Enter yourbusiness.com (root domain, no www, no https).
  3. Pick the Free plan ($0).
  4. Cloudflare scans your existing DNS records (A, MX, TXT, CNAME) and shows what it found. Verify these are correct · particularly your MX records for email, your A record for the website, and any SPF / DKIM / DMARC TXT records. Anything Cloudflare missed, add manually now.
  5. For each DNS record, decide whether the proxy should be on (orange cloud) or off (grey cloud). Web traffic should be proxied (orange · CDN, DDoS, SSL active). Mail and verification records should NOT be proxied (grey · traffic passes through unchanged). See section 5 for which is which.
  6. Cloudflare gives you two nameservers · usually something like tom.ns.cloudflare.com and nora.ns.cloudflare.com. Note these down.
  7. Log in to your domain registrar (where you renew the domain · GoDaddy, Namecheap, etc.) and replace the existing nameservers with the two Cloudflare gave you. Save.
  8. Wait. DNS nameserver changes take 5 minutes to 24 hours to propagate globally (usually under an hour). Cloudflare emails you when it detects the change is live.
What "proxied" means Orange cloud = the record is proxied through Cloudflare's edge. Your real server IP is hidden; Cloudflare's IP shows in DNS. Traffic goes via the CDN. Grey cloud = the record bypasses Cloudflare; the real IP is exposed and traffic goes direct. Use orange for web; grey for mail and anything that does its own TLS.

04Settings worth changing from defaults

Cloudflare's defaults are sensible but a few tweaks make a real difference.

  1. SSL/TLS → Overview → Encryption mode: Full (strict). Default is Flexible, which is technically insecure (Cloudflare-to-origin is unencrypted). Full (strict) requires a valid cert on your origin too. Most modern hosts (Hostinger, etc.) provide one by default.
  2. SSL/TLS → Edge Certificates → Always Use HTTPS: On. Auto-redirects any http:// request to https://. Free upgrade.
  3. SSL/TLS → Edge Certificates → Automatic HTTPS Rewrites: On. Cloudflare rewrites mixed-content links (http://image.png inside an https page) automatically.
  4. Speed → Optimization → Auto Minify: tick HTML, CSS, JS. Removes whitespace and comments at the edge. Small but free.
  5. Speed → Optimization → Brotli compression: On. Better compression than gzip. Free, modern browsers all support it.
  6. Caching → Configuration → Browser Cache TTL: 4 hours (or longer for mostly-static sites). Tells browsers to keep cached assets longer. Reduces repeat requests.
  7. Rules → Page Rules: (optional · 3 free rules). Common one: yourbusiness.com/wp-admin/* → Cache Level: Bypass. Stops Cloudflare caching the WordPress admin area.
Stuck on SSL? If "Full (strict)" breaks your site (you see a SSL handshake error), your origin doesn't have a valid cert. Fastest fix: enable Let's Encrypt on your hosting (most hosts have a one-click toggle for this), then re-enable Full (strict).

05Common pitfalls

The things we see go wrong most often. Avoid these and you'll be fine.

Don't proxy these

  • MX records · email delivery breaks instantly if proxied
  • SPF / DKIM / DMARC TXT records · Cloudflare doesn't proxy TXT anyway, but worth knowing
  • Subdomains used for direct mail (e.g. smtp.yourbusiness.com if you have one)
  • Subdomains that do their own TLS handshake (e.g. some SaaS verification domains)
  • FTP / SSH subdomains · use grey cloud or just remove the record
  • Forgetting to update nameservers at the registrarThis is the most common reason "Cloudflare isn't working" tickets exist. The Cloudflare panel says everything's set up; the registrar still points elsewhere. Always verify by running whois yourbusiness.com · the Name Server line should match Cloudflare's.
  • Two SSL certificates fightingOrigin has Let's Encrypt; Cloudflare provisions its own; "Flexible" mode makes them argue. Always use Full (strict) once your origin has a valid cert.
  • WordPress login loopingCaused by Cloudflare caching the wp-admin path. Fix: add a Page Rule to bypass cache for wp-admin/* and wp-login.php.
  • Stale content after deploysCloudflare caches aggressively. After deploying a site change, purge the cache · Caching → Configuration → Purge Cache → Purge Everything. Or set up a Page Rule to bypass cache for specific files during a deploy window.

06Grant Mode access

Adding Mode as a team member on your Cloudflare account.

  1. Log in to dash.cloudflare.com.
  2. Click the Manage Account dropdown in the top-right (or click your profile → Manage Account).
  3. Click Members in the sidebar.
  4. Click Invite.
  5. Enter modemarketinglimited@gmail.com.
  6. Choose role: Super Administrator (full control, including billing) or Administrator (everything except billing · recommended for most engagements).
  7. Click Send Invite. Cloudflare emails us; we accept within a few hours.
Super Administrator vs Administrator Super Administrator = full control including billing + member management. Administrator = everything operationally needed (DNS, SSL, page rules, cache, firewall) without touching billing or other members. Default to Administrator unless we specifically need to manage your billing or invite further team members.

Our commitment

What we'll do with Cloudflare access