[ Maintenance & Support ]

Cloudflare Setup for Small Business Websites

DNS, SSL mode, cache rules, WAF, and bot settings are where small-business Cloudflare setups go right — or quietly go wrong.

DATE February 20, 2025READING 4 min readCATEGORY Maintenance & Support
server room cables

Small businesses usually adopt Cloudflare for two reasons: faster delivery through a global cache and a layer of protection in front of the origin server. Both are real benefits, and both can cause an outage when the initial configuration is done carelessly. The setup is not difficult, but it touches DNS, certificates, caching, and traffic filtering at once, so changing it without a rollback plan is the main way a useful tool becomes the problem. A little planning before the first change prevents most of the incidents that follow.

DNS migration is the first step and the most consequential. Lower the time-to-live values on existing records before changing nameservers so mistakes resolve quickly. Import or recreate every record — web, mail exchange, subdomains, verification tokens for other services — because missing an email or verification record is a classic first-day failure. Decide which records are proxied and which stay DNS-only: mail infrastructure generally should not pass through the web proxy, and internal tools may not belong on public edge routes at all.

SSL and TLS settings deserve a deliberate choice. Full Strict mode with a valid certificate on the origin is the configuration that actually encrypts the path between the edge and the server. Flexible mode, which sends traffic to the origin over plain HTTP, is the source of endless redirect loops and does not deliver end-to-end encryption; it should be treated as a temporary migration aid, not a destination. Turn on automatic HTTPS rewriting only after confirming the origin handles the resulting redirects correctly.

Caching rules should reflect what is safe to cache. Static assets, images, fonts, and scripts are obvious candidates. User-specific pages, admin panels, cart and checkout routes, and anything behind a session must bypass the cache, or customers will see each other's state. Query string handling and cookie behavior need review before aggressive caching is enabled. Keep a documented purge procedure and use development mode while debugging, so a stale asset is diagnosed in minutes rather than blamed on the application.

The web application firewall and rate limiting add protection, but they need a rollout rhythm. Start managed rules in log or simulation mode, review what they would have blocked, add exceptions for legitimate admin and integration traffic, then move to enforcement. Rate limits are most valuable on authentication, form submission, and search endpoints. Every exception added to a rule should be written down with a reason, because the person who added it will not always be the person troubleshooting the block months later.

Bot protection requires the same care. Aggressive challenges placed in front of checkout, payment callbacks, or partner APIs will break integrations while looking like they are working. Use verified bot allowances where appropriate, apply challenges to specific paths rather than everything, and consider a form-level challenge on public forms to reduce spam without penalizing normal customers. The goal is to make abuse expensive while keeping the legitimate path boring and invisible.

Common misconfigurations repeat across small business accounts: a second CDN stacked behind Cloudflare in a way that confuses caching and client IP handling, HTML cached when it should not be, a proxy enabled on a mail hostname, the origin IP still exposed in public DNS history or email headers, mixed content warnings after an HTTPS move, or overly broad firewall rules that block real customers. Each has a straightforward fix, and each is easier to prevent with a staged rollout and a test checklist covering forms, checkout, and email.

Treat the configuration as production infrastructure with change control. Record each rule, cache setting, and page rule with the reason it exists and the date it was last reviewed. Before changing anything during business hours, note how to undo it, and prefer incremental adjustments over broad experiments. Cloudflare's analytics and security event logs show what traffic actually reaches the edge, which replaces guesswork with evidence. A configuration nobody understands is simply an outage that has not happened yet.

Verification should happen from outside your own network. Test the site from several locations, submit every important form, run a test transaction if commerce is involved, confirm transactional email still sends and authenticates, and check that the certificate chain is valid. Document what DNS looked like before and after the change, including which records are proxied. If something breaks, being able to restore the previous state quickly is worth more than any individual optimization.

The ongoing routine is light but real: review firewall events and analytics for new patterns, revisit challenges that may be catching legitimate traffic, renew origin certificates before expiry, and update the documented exception list when the stack changes. Configured once and left alone, Cloudflare still helps, but a short quarterly review keeps the protection effective and the surprise count near zero. If nobody on the team can explain what a rule does, schedule that review sooner.

[ Sources ]

Official documentation, checked and cited.

Terminology and platform behavior in this note trace back to published docs, not secondhand summaries.