Connecting a site to Cloudflare in ISPmanager
Cloudflare sits between visitors and the site: it caches pages and filters attacks. The site stays on the hosting. The panel has an integration: a domain is connected to Cloudflare with a button in "Sites".
1. Create an API token in Cloudflare
- Sign up or log in at dash.cloudflare.com.
- "My Profile" → "API Tokens" → "Create Token".
- At the bottom of the templates: "Create Custom Token" → "Get started".
- Name the token and add the permissions listed below.
- "Continue to summary" → "Create Token". Copy the token: it is shown only once.

Account, Account Firewall Access Rules, ReadZone, Cache Rules, EditZone, Zone Settings, ReadZone, Zone Settings, EditZone, DNS, ReadZone, DNS, EditZone, Zone, EditZone, Cache Purge, PurgeZone, Firewall Services, ReadZone, Firewall Services, Edit
In "Zone Resources" choose "Include" → "All zones from an account", and your account in "Account Resources". With a single-zone token ("Specific zone") the panel cannot connect the domain: it creates the zone in Cloudflare, and that right is granted only per account. The module log shows "Requires permission com.cloudflare.api.account.zone.create".
2. Connect the token in the panel
- Open "Sites".
- On the top toolbar click "User" with the Cloudflare cloud icon.
- Paste the token into "API Token".
- Click "Create".



3. Connect the domain
After the token is connected, a "Cloudflare" button appears in "Sites". It opens the list of your sites.

- Tick the site and click "Add".
- "Connection type": "Full". Click "Save".


The panel creates a zone in Cloudflare and copies the site DNS records there. "Free" appears in the "Subscription plan" column.
If the domain was already added to Cloudflare manually, connecting from the panel fails with "already exists" in the log. Delete the zone in Cloudflare or manage it there.
4. Change the NS
Cloudflare gives two DNS servers like name.ns.cloudflare.com. Set them at your domain registrar. Until the NS change, the zone waits for activation and the sections below are unavailable. Usually 10–30 minutes, sometimes up to a day.

The status updates by itself. To check at once: tick the site → "More" → "Update".
5. Managing in the panel
When a check mark appears in "Status", tick the site. The sections become available on the top toolbar.

| Section | Use |
|---|---|
| DNS records | zone records in Cloudflare: A, MX, TXT and others |
| Page rules | caching and redirects for specific addresses |
| Firewall | blocking and allowing by IP, country, network |
| Settings | security level, SSL, HTTPS, optimization |
| Clear cache | purge the Cloudflare cache after site changes |



Proxy must be off for the mail and MX records, otherwise email stops working.
6. Settings and SSL
"Settings" opens the zone settings.


| SSL | When to choose |
|---|---|
| Existing | a valid certificate such as Let's Encrypt is installed on the hosting. Recommended |
| Self-signed | Cloudflare encrypts the link to the hosting but does not verify the certificate |
| Flexible | no encryption between Cloudflare and the hosting. A redirect loop is possible if the site forces HTTPS |
After the NS change, DNS records are edited in the module "DNS records" section. Records in the panel "DNS management" no longer apply.