WHMCS Cloudflare Integration Module
Sell Cloudflare zones from WHMCS with full client-area control
The WHMCS Cloudflare Integration Module lets you sell Cloudflare zones from WHMCS with full client-area control. It provisions a Cloudflare zone automatically when an order is placed, then gives customers DNS record management, cache purge, page rules, WAF rules and SSL settings inside your WHMCS client area. Plan upgrades create WHMCS invoices, and the whole experience is white-labeled under your brand.
What the WHMCS Cloudflare module does
It turns Cloudflare into a product you sell, provision and support from WHMCS.
- Auto-provisioning: Cloudflare zones are created on order through your API token.
- Full DNS record management: customers create, edit and delete A, AAAA, CNAME, MX, TXT, SRV and CAA records.
- Cache purge: by URL, by tag or for the full zone, with confirmation.
- Page rules: create, edit, reorder and delete, up to plan limits.
- WAF and firewall rules editor: for customers on Pro and Business plans.
- SSL settings: Flexible, Full or Strict, with a certificate status indicator.
- Performance insights: cached vs uncached bandwidth, requests and cache hit ratio.
- Plan upgrades: moving from Free to Pro, Business or Enterprise triggers a WHMCS invoice.
- White-label nameservers: customers use ns1 and ns2 on your domain instead of Cloudflare's nameservers.
- Audit log: every change a customer makes is recorded.
Who it is for
The module is for hosting companies and agencies that want to sell Cloudflare protection and performance as an add-on. Customers who would never learn Cloudflare's dashboard can still manage DNS, purge cache and adjust WAF rules from the client area they already use for invoices.
It also cuts routine tickets. Requests like "please flush my cache" become a button, and every change is logged if you need to see who did what.
How it works in WHMCS
You connect a Cloudflare API token, map plans to products and let orders provision zones.
- Create a Cloudflare API token with Zone:Edit scope.
- Install the module and paste the token into the module settings.
- Create a WHMCS product for each Cloudflare plan you want to sell (Free, Pro, Business or Enterprise) and set its price.
- Map each plan to its product in the plan-to-product settings.
- When a customer orders, the module provisions the zone and the customer gets per-zone management in the client area.
- If the customer upgrades their plan, WHMCS raises the invoice for the new tier.
- Review customer zones and the audit log from the admin overview.
A practical way to launch is to start with one or two plans, such as Free and Pro, and add higher tiers once customers ask for them. Each plan is its own WHMCS product, so adding one later does not change existing services.
Requirements and compatibility
The module is built for WHMCS 8.13 on PHP 8.1 or newer and needs a Cloudflare account with an API token.
It works with a standard Cloudflare API token, and larger operators can use Cloudflare's Tenant program, which the module also supports. Feature availability, such as WAF rules and page rule limits, follows each zone's Cloudflare plan. The spec sheet lists support back to WHMCS 7.10; on an older release, ask us first.
Licensing, updates and support
The Regular license is $99 one time for a lifetime license, and an Open Source edition is available for $299.
Both include one year of updates and support, then optional renewal at $39 per year. You get an instant download and a license key, and a 7-day refund window applies.
Related modules and services
Read our guide to reselling Cloudflare zones via WHMCS for pricing and packaging ideas. If you only need DNS automation, compare the Cloudflare DNS management module. Browse all DNS modules for WHMCS, or let us configure Cloudflare end to end with the CDN integration service for WHMCS.
Key features
- Auto-provisioning of Cloudflare zones on order via API token
- Full DNS record CRUD from client area (A, AAAA, CNAME, MX, TXT, SRV, CAA)
- Cache purge: by URL, by tag, or full-zone (with confirmation)
- Page rules: create, edit, reorder, delete - up to plan limits
- WAF / Firewall rules editor for Pro and Business plan customers
- SSL settings: Flexible / Full / Strict, with cert status indicator
- Page speed insights: cached vs uncached bandwidth, requests, cache hit ratio
- Plan upgrades (Free -> Pro -> Business -> Enterprise) trigger WHMCS invoice
- Subdomain whitelabel - customers use ns1/ns2.yourbrand.com instead of Cloudflare's NS
- Audit log of every change made by customer
Why customers buy this module
- →Sell Cloudflare protection as a per-zone upsell
- →Customers purge cache from the client area instead of opening tickets
- →A simpler dashboard than Cloudflare's own, with your margin on top
- →Win agency customers who want DNS and WAF without learning Cloudflare
Frequently asked questions
Can I resell only specific Cloudflare plans?
Yes. Choose Free, Pro, Business and/or Enterprise, and sell each plan as a separate WHMCS product with its own price.
Does this require Cloudflare's Tenant API or partner program?
No. It works with a standard Cloudflare API token. Larger operators can apply for Cloudflare's Tenant program, which the module also supports.
Can customers purge their own cache?
Yes. Customers can purge by URL, by tag or for the full zone from the WHMCS client area, with a confirmation step.
Can customers use my branded nameservers?
Yes. Subdomain white-labeling lets customers use ns1 and ns2 on your domain instead of Cloudflare's nameservers, subject to what your Cloudflare account allows.
What API permissions does the module need?
A Cloudflare API token with Zone:Edit scope, pasted into the module settings.
Does it manage Cloudflare Stream or R2?
No. The module currently focuses on DNS, cache, page rules, WAF and SSL.
How much does the WHMCS Cloudflare module cost?
$99 for a Regular lifetime license or $299 for Open Source, each with one year of updates and support and optional $39 yearly renewal.
Technical specifications
- supportedVersions
- WHMCS 7.10 through 8.13
- installation
- Create a Cloudflare API token with Zone:Edit scope, paste into module settings
- requirements
- PHP 8.1+, WHMCS 7.10+, Cloudflare account + API token
- adminUI
- Cloudflare settings, plan-to-product mapping, audit log, customer zone overview
- clientUI
- Per-zone management: DNS records, cache, page rules, WAF, SSL, analytics