Cover of Cloudflare Made Crystal Clear
← Back to the series

Cloudflare

Made Crystal Clear

By Christophe Paka · Updated November 3, 2026

A Visual Beginner's Guide to DNS, SSL, Security, and Workers

Soon on Amazon
Give feedback

Who this book is for

In plain words: Cloudflare sits between your visitors and your website: it makes it faster, blocks attacks, gives you HTTPS, and lets you run code close to users.

  • Site owners and indie developers putting a domain on Cloudflare
  • Self hosters who want to reach home apps safely
  • IT teams adding a login in front of internal tools
  • Not for: Not for you if you only want a website without touching domains or settings. Try Lovable Made Crystal Clear.

Most people meet Cloudflare through a redirect loop or a 522 error, and few see what happens in between. This visual beginner's guide follows one request from the browser to your server. Inside, you will learn to move your domain to Cloudflare without breaking email; get HTTPS right with Full (strict) and no redirect loops; speed up pages with caching, and never cache a private one; block attacks, bad bots and AI crawlers with a few rules; publish a home lab app with Tunnel and a real login, even with no public IP address (CGNAT); and build a first site and API on Workers, with R2, KV and D1 storage. Fifteen chapters, 72 diagrams and 53 step by step recipes. Every idea has a diagram, every recipe is numbered with the result you should see, and every chapter ends with a Try it to check yourself. The words stay plain, and the real terms stay in. Whether you are a self hoster, a site owner, an indie developer or an IT pro, a troubleshooting chapter maps the error on your screen to the step that fixes it.

Pages
286
Level
Beginner to advanced
Updated
November 3, 2026

12 real pages. Click a page to enlarge it.

Page 7: one IP, hundreds of doors
Page 18: every request, one path
Page 33: the zone plan ladder per domain, at October 2026 prices
Page 54: resolvers accept a DS that matches the signing key, or no DS at all
Page 79: why your rule never runs
Page 100: only the Edge TTL override makes a page with a cookie cacheable, and it hands that page to the next visitor
Page 112: follow one request through the security station
Page 142: protect with Access is a second lock
Page 169: each arrow is a binding on env
Page 188: choose the store by the shape of your data
Page 192: a write goes straight to the central store
Page 215: 522: no connection within 19 seconds (90 s is the second 522 timer)

Is this you?

  • Your site is stuck in a redirect loop since you turned on the orange cloudChapter 4: Put Your Domain on Cloudflare
  • A 522, 525 or 1033 error, and no idea which side is brokenChapter 10: A Login in Front of Your App: Cloudflare Access
  • Your home server sits behind CGNAT and you cannot open portsChapter 8: Security on the Free Plan: Attacks, Bots, and AI Crawlers
  • You published an app with a tunnel, and now anyone with the link can open itChapter 9: Publish a Home App Safely with Cloudflare Tunnel
  • cf-cache-status says DYNAMIC and nothing gets cachedChapter 5: HTTPS Without Redirect Loops
  • You are not sure what the entry plan covers, or what Workers will costChapter 13: Troubleshooting by the Error on Your Screen

15 chapters · 72 diagrams · 53 recipes · 58 checklists · 136 glossary terms · 349 sources

Inside the book

  1. 01What Cloudflare Is, and Why So Much Is Free
  2. 02The Request Path: Orange Cloud or Grey Cloud
  3. 03What It Costs: Free, Paid, and What Can Charge You
  4. 04Put Your Domain on Cloudflare
  5. 05HTTPS Without Redirect Loops
  6. 06Rules: Redirects, Headers, and Settings per Path
  7. 07Caching: Faster Pages, Never a Private One
  8. 08Security on the Free Plan: Attacks, Bots, and AI Crawlers
  9. 09Publish a Home App Safely with Cloudflare Tunnel
  10. 10A Login in Front of Your App: Cloudflare Access
  11. 11Workers: Your First Site and API at the Edge
  12. 12Storage: R2, KV, D1, and Durable Objects
  13. 13Troubleshooting by the Error on Your Screen
  14. 14Run It for Real: Production, Plan B, and the Business Case
  15. 15Your 90 Days, the Cheat Sheet, and Where to Check Again

You'll leave with

  • Move a domain without breaking email
  • Set Full (strict) SSL and end redirect loops
  • Cache safely and read cf-cache-status
Christophe Paka, author of Cloudflare Made Crystal Clear

About the author

Christophe Paka writes every book on the shelf. He spent years in technical support at Salesforce and Microsoft, where the job was to make complex systems clear to customers who needed them working the same day. He has since built and run software as a founder and lead developer, worked as a Salesforce consultant, and grown a YouTube channel on tech careers past one million views.

This book was last updated on November 3, 2026.

Connect on LinkedIn →

For teams

Put Cloudflare on every desk at your company.

One licence, every book in the series, one link for everyone. From $250 a year.

See the team licences

Sources

Every source cited in Cloudflare Made Crystal Clear. Each number matches the [n] marker next to that link in the book's "Go deeper" lists, so you can trace any claim back to its origin.

  1. [1]How Cloudflare works
  2. [2]Cloudflare IP addresses
  3. [3]Cloudflare IP ranges
  4. [4]Cloudflare Ray ID
  5. [5]Cloudflare network
  6. [6]About Cloudflare
  7. [7]Cloudflare plans
  8. [8]Free plan
Show all 349 sources
  1. [9]DDoS protection overview
  2. [10]The folly of charging by bandwidth
  3. [11]Cloudflare S-1 (2019)
  4. [12]Q2 2026 financial results
  5. [13]18 November 2025 outage post-mortem
  6. [14]RFC 9110, section 3.7
  7. [15]RFC 4786
  8. [16]RFC 7094
  9. [17]W3Techs reverse proxy usage
  10. [18]MDN: CDN
  11. [19]Proxy status
  12. [20]Proxy status limitations
  13. [21]Accounts, zones, and profiles
  14. [22]Connection limits
  15. [23]Default cache behavior
  16. [24]Cloudflare HTTP headers
  17. [25]Network ports
  18. [26]Cache responses
  19. [27]Workers pricing
  20. [28]Spectrum
  21. [29]MDN: Proxy servers and tunneling
  22. [30]Onboard a domain
  23. [31]Domain status
  24. [32]Update nameservers
  25. [33]Zone setups
  26. [34]DNS record types
  27. [35]CNAME flattening
  28. [36]DNSSEC
  29. [37]Transfer a domain to Cloudflare
  30. [38]1.1.1.1
  31. [39]The root KSK-2024 rollover
  32. [40]RFC 1912
  33. [41]RFC 9364
  34. [42]RFC 8659
  35. [43]DNSViz
  36. [44]Encryption modes
  37. [45]Flexible mode
  38. [46]Full (strict) mode
  39. [47]Troubleshooting too many redirects
  40. [48]Universal SSL
  41. [49]Universal SSL limitations
  42. [50]Certificate validity periods
  43. [51]Advanced Certificate Manager
  44. [52]Origin CA certificates
  45. [53]Origin CA troubleshooting
  46. [54]Create Origin CA certificate (API)
  47. [55]Always Use HTTPS
  48. [56]HSTS
  49. [57]Minimum TLS version
  50. [58]Authenticated Origin Pulls
  51. [59]Cloudflare, SSL and unhealthy security absolutism
  52. [60]RFC 6797: HSTS
  53. [61]HSTS preload list
  54. [62]RFC 8555: ACME
  55. [63]SSL certificate validity changes
  56. [64]Let's Encrypt: from 90 to 45 days
  57. [65]Origin Cache Control
  58. [66]CDN-Cache-Control
  59. [67]Edge and Browser Cache TTL
  60. [68]Cache keys
  61. [69]Cache Rules
  62. [70]Cache Rules order
  63. [71]Cache Response Rules
  64. [72]Dynamic content and login issues
  65. [73]Purge cache
  66. [74]Invalidate cache
  67. [75]Tiered Cache
  68. [76]Cache Reserve
  69. [77]Smart Shield get started
  70. [78]Compression
  71. [79]Early Hints
  72. [80]Run a speed test
  73. [81]Always Online
  74. [82]RFC 9111: HTTP Caching
  75. [83]Cloudflare Rules overview
  76. [84]Redirects
  77. [85]Create a redirect rule in the dashboard
  78. [86]Bulk Redirects concepts
  79. [87]URL Rewrite Rules
  80. [88]Managed Transforms
  81. [89]Configuration Rules settings
  82. [90]Origin Rules features
  83. [91]Snippets vs Workers
  84. [92]Page Rules migration guide
  85. [93]Cache Rules: Page Rules migration
  86. [94]Rules language operators
  87. [95]Rules language field reference
  88. [96]Rules language functions
  89. [97]Phases list
  90. [98]Cloudflare Trace
  91. [99]cloudflare/wirefilter on GitHub
  92. [100]Building fast interpreters in Rust
  93. [101]Cloudflare WAF
  94. [102]WAF: Get started
  95. [103]WAF concepts
  96. [104]WAF feature interoperability
  97. [105]Allow site admin only from known IPs
  98. [106]Rules language: actions
  99. [107]How rate limiting counts requests
  100. [108]Rate limiting use cases
  101. [109]How DDoS protection works
  102. [110]Configure HTTP DDoS overrides
  103. [111]2025 Q4 DDoS threat report
  104. [112]H1 2026 DDoS threat report
  105. [113]500 Tbps of capacity
  106. [114]Bot Fight Mode
  107. [115]Super Bot Fight Mode
  108. [116]AI bot policies
  109. [117]Managed robots.txt
  110. [118]Turnstile server-side validation
  111. [119]Turnstile testing
  112. [120]Security Center
  113. [121]AWS WAF pricing
  114. [122]AWS WAF vs Cloudflare WAF vs Azure WAF
  115. [123]Cloudflare Tunnel overview
  116. [124]Tunnel fundamentals
  117. [125]Get started with Tunnel
  118. [126]Quick Tunnels
  119. [127]Configuration file
  120. [128]Origin parameters
  121. [129]Terraform guide
  122. [130]Tunnel troubleshooting
  123. [131]HTTPS origins troubleshooting
  124. [132]Tunnel observability
  125. [133]Tunnel FAQ
  126. [134]Upload limits
  127. [135]Delivering videos with Cloudflare
  128. [136]Service-Specific Terms: CDN
  129. [137]cloudflared releases
  130. [138]Pangolin vs Cloudflare Tunnels vs Tailscale
  131. [139]Publish a self-hosted application to the Internet
  132. [140]Access policies
  133. [141]One-time PIN login
  134. [142]Session management
  135. [143]Validate JWTs
  136. [144]Service tokens
  137. [145]Connect an IP/CIDR
  138. [146]Cloudflare One Client
  139. [147]Get started with Gateway
  140. [148]Zero Trust plans
  141. [149]Tailscale Funnel
  142. [150]Expose localhost to the Internet
  143. [151]Cloudflare 5xx errors
  144. [152]Error 522
  145. [153]Error 524
  146. [154]Cloudflare 1XXX errors
  147. [155]Error 413
  148. [156]Workers limits
  149. [157]Security Events
  150. [158]Cloudflare Status
  151. [159]How Workers works
  152. [160]Workers getting started guide
  153. [161]Wrangler configuration
  154. [162]Wrangler commands for Workers
  155. [163]Bindings
  156. [164]Secrets
  157. [165]Routing
  158. [166]Custom Domains
  159. [167]Workers Static Assets
  160. [168]Migrate from Pages to Workers
  161. [169]Cloudflare Pages docs
  162. [170]Workers Builds limits and pricing
  163. [171]Workers Logs
  164. [172]Placement
  165. [173]Cron Triggers
  166. [174]Eliminating Cold Starts 2: shard and conquer
  167. [175]The Deno team joins Cloudflare
  168. [176]Deno: joining Cloudflare
  169. [177]workerd on GitHub
  170. [178]Cloudflare Workers vs Lambda
  171. [179]Choosing a data or storage product
  172. [180]R2 pricing
  173. [181]R2 public buckets
  174. [182]R2 presigned URLs
  175. [183]R2 limits
  176. [184]How KV works
  177. [185]KV limits
  178. [186]D1 limits
  179. [187]D1 migrations
  180. [188]D1 Time Travel
  181. [189]How Hyperdrive works
  182. [190]What are Durable Objects?
  183. [191]Durable Objects WebSockets
  184. [192]Durable Objects limits
  185. [193]Queues get started
  186. [194]Workflows
  187. [195]Workers AI pricing
  188. [196]AI Gateway pricing
  189. [197]Vectorize pricing
  190. [198]Containers
  191. [199]Amazon S3 pricing
  192. [200]Backblaze B2 pricing
  193. [201]R2 vs S3 vs Backblaze B2 (2026)
  194. [202]Cloudflare R2 pricing explained
  195. [203]Plans comparison table
  196. [204]Pro plan
  197. [205]Available notifications
  198. [206]Code Orange: Fail Small, complete
  199. [207]Cloudbleed incident report
  200. [208]CloudFront pay-as-you-go pricing
  201. [209]CloudFront flat-rate plans
  202. [210]Fastly pricing
  203. [211]Bunny CDN pricing
  204. [212]Spain's weekend Cloudflare blocking
  205. [213]Create an API token
  206. [214]Review audit logs
  207. [215]Notifications
  208. [216]Cloudflare Terraform provider
  209. [217]Tunnel system requirements
  210. [218]Update cloudflared
  211. [219]12 September 2025 dashboard and API outage
  212. [220]Cloudflare post-mortem archive
  213. [221]Cloudflare's outage exposes dependence on centralised infrastructure
  214. [222]Useful cloudflared commands
  215. [223]Cloudflare Tunnel changelog
  216. [224]Cloudflare Radar DDoS reports
  217. [225]Cloudflare Community forum
  218. [226]r/CloudFlare
  219. [227]r/selfhosted
  220. [228]Add CAA records
  221. [229]Certificate authorities
  222. [230]Restoring original visitor IPs
  223. [231]WordPress cookies
  224. [232]CSV file format for Bulk Redirects
  225. [233]Available Managed Transforms
  226. [234]Install and update Wrangler
  227. [235]Vectorize limits
  228. [236]Hyperdrive query caching
  229. [237]Access mutual TLS
  230. [238]Split Tunnels
  231. [239]Global API key (legacy)
  232. [240]Initialize Terraform
  233. [241]Configure webhooks
  234. [242]DNS zone transfers
  235. [243]Seat management
  236. [244]Bitwarden release notes
  237. [245]Home Assistant Companion: getting started
  238. [246]Create a network policy (Replace your VPN)
  239. [247]Network policies
  240. [248]Order of enforcement
  241. [249]Resolver endpoints
  242. [250]DNS resolver IPs and hostnames
  243. [251]Service-Specific Terms: Application Services
  244. [252]Delivering videos with Cloudflare
  245. [253]Zero Trust getting started FAQ
  246. [254]Device posture checks
  247. [255]Connect a private hostname
  248. [256]HTTP policies
  249. [257]workers.dev
  250. [258]2026 Birthday Week: network performance update
  251. [259]Enterprise self serve upload limits (changelog)
  252. [260]30 days of analytics on every plan (changelog)
  253. [261]Workers KV pricing
  254. [262]D1 pricing
  255. [263]Durable Objects pricing
  256. [264]Queues pricing
  257. [265]Workflows pricing
  258. [266]Workers AI limits
  259. [267]Images pricing
  260. [268]Observability pricing
  261. [269]Logpush pricing
  262. [270]Zero Trust plans (SASE)
  263. [271]Get started with Cloudflare One
  264. [272]Get started with R2
  265. [273]Budget alerts
  266. [274]Budget alerts on by default (changelog)
  267. [275]Enterprise for all, an update
  268. [276]Monitor billable usage
  269. [277]Manage DNS records
  270. [278]Cloudflare Registrar
  271. [279]Apache HTTP Server: SSL/TLS Strong Encryption How-To
  272. [280]cPanel: Manage AutoSSL
  273. [281]cPanel: SSL/TLS Status
  274. [282]Automatic HTTPS Rewrites
  275. [283]Set up global Authenticated Origin Pulls
  276. [284]Remove surrounding bytes with trim functions (changelog)
  277. [285]Under Attack mode
  278. [286]Introducing Cloudflare Traces
  279. [287]Cache Reserve purge behavior (changelog)
  280. [288]Security Insights: how it works
  281. [289]Challenge pages
  282. [290]Create a custom rule in the dashboard
  283. [291]Create a rate limiting rule in the dashboard
  284. [292]DDoS protection FAQ
  285. [293]AI Crawl Control
  286. [294]Pay Per Use
  287. [295]Challenge Passage
  288. [296]Challenges troubleshooting
  289. [297]Rules troubleshooting
  290. [298]Threat Signals
  291. [299]Pangolin (GitHub)
  292. [300]Protected Quick Tunnels (Cloudflare blog)
  293. [301]Networking in Compose (Docker docs)
  294. [302]cloudflared release notes
  295. [303]cloudflared architecture deprecation (changelog, 18 September 2026)
  296. [304]Choose an application type
  297. [305]Infrastructure application session duration (changelog, 14 October 2026)
  298. [306]Rule groups
  299. [307]Cloudflare identity provider
  300. [308]SAML Require reauthentication (changelog, 14 September 2026)
  301. [309]Application paths
  302. [310]AJAX (WordPress Plugin Handbook)
  303. [311]Brute Force Attacks (WordPress Advanced Administration)
  304. [312]Hooking WP-Cron Into the System Task Scheduler (WordPress)
  305. [313]Routes and Endpoints (WordPress REST API Handbook)
  306. [314]Service token inactivity cleanup (changelog, 22 September 2026)
  307. [315]ipconfig (Microsoft Learn)
  308. [316]ip-route(8), Linux manual page
  309. [317]Use DHCP or a manual IP address on Mac (Apple Support)
  310. [318]Unified dashboard navigation for Zero Trust (changelog, 12 October 2026)
  311. [319]Cloudflare One Client release (changelog, 12 October 2026)
  312. [320]Static assets: get started
  313. [321]Workers Issues
  314. [322]Node.js compatibility
  315. [323]Vinext 1.0
  316. [324]Next.js on Workers
  317. [325]AWS Lambda pricing
  318. [326]Vercel pricing
  319. [327]The cf CLI
  320. [328]Workers KV Instant
  321. [329]Flagship
  322. [330]AI Search is generally available
  323. [331]Agents
  324. [332]Rebuilt Containers
  325. [333]More HTTP 499 codes for HTTP/3 (changelog)
  326. [334]Terraform provider releases
  327. [335]Audit Logs v2
  328. [336]Log Explorer pricing
  329. [337]One observability platform
  330. [338]Time to Live (TTL)
  331. [339]Pause Cloudflare
  332. [340]Partial (CNAME) setup
  333. [341]ngrok pricing
  334. [342]Cloudflare and the GDPR
  335. [343]Data Localization Suite
  336. [344]R2 data location
  337. [345]Cloudflare changelog
  338. [346]Metrics and analytics
  339. [347]TLS protocols
  340. [348]Networking overview (Docker docs)
  341. [349]Two factor authentication

New books, in your inbox

One short note when a new Made Crystal Clear guide ships.
No spam, unsubscribe anytime.