If https://example.com:2087 stopped working after the domain went behind Cloudflare, the port itself is usually not the culprit — Cloudflare’s proxy does carry the classic cPanel ports (2082, 2083, 2086, 2087, 2095, 2096), a compatibility carve-out that dates back to its shared-hosting roots. What actually breaks is everything around them: WebDisk and CalDAV ports that are not on the compatible list, SSH and FTP that are never proxied, cPHulk treating shared Cloudflare edge IPs as brute-force attackers, and edge certificates that do not cover deeper subdomain levels. The clean answer is the one cPanel already ships: dedicated cpanel, whm, and webmail service subdomains, kept DNS-only.
What’s happening
For a proxied hostname, Cloudflare forwards traffic only on its published list of HTTP and HTTPS ports. The cPanel web ports are on that list, so a proxied example.com:2083 normally connects. But three groups of things go wrong anyway.
First, the ports that are not on the list: WebDisk (2077/2078) and the cpdavd CalDAV/CardDAV service behind cpcontacts/cpcalendars (2079/2080) are silently dropped at the edge, as are SSH (22) and FTP (21). Users report “the panel works but my calendar sync and WebDisk died” — the exact signature of a newly proxied record.
Second, identity: every proxied login reaches cpsrvd from a Cloudflare IP, and cpsrvd does not read CF-Connecting-IP. cPHulk counts failed logins per source IP, so one stranger’s bad attempts through the same edge POP can lock out your whole customer base, and your own security policies (IP-restricted WHM access, “trusted IP” lists) stop matching.
Third, TLS coverage: Universal SSL covers the apex and one subdomain level. cpanel.example.com is fine; cpanel.client.example.com is not, and needs Advanced Certificate Manager (a paid add-on) if you insist on proxying it.
After a DNS migration to Cloudflare there is also a duller failure: cpanel.example.com may not resolve at all, because the service-subdomain records only ever existed in the cPanel-hosted zone and the import scan missed them.
What to check first
Establish whether the panel hostname is proxied, missing, or blocked. dig answers the first two in seconds. Then confirm which ports the users actually need — someone on a hotel or corporate network that filters outbound 2083 has a different problem than someone hitting a Cloudflare drop, and cPanel’s service subdomains answer on plain 443 through Apache precisely for those filtered networks.
How to verify
# Proxied (Cloudflare ranges) or direct (your server IP)?
dig +short A cpanel.example.com
dig +short A example.com
curl -s https://api.ipify.org
# Panel through the proxy vs direct to the origin
curl -kI --max-time 10 https://example.com:2087/
curl -kI --max-time 10 --resolve example.com:2087:203.0.113.10 https://example.com:2087/
# Ports that are never proxied: this fails on a proxied hostname
curl -kI --max-time 10 https://example.com:2078/
If the --resolve variant (direct to origin) works while the proxied one times out on 2078 but not 2087, you are seeing the compatible-ports list in action, not a server problem. Also confirm cPanel is generating service subdomains: WHM » Server Configuration » Tweak Settings » Domains » Service subdomains should be on.
The fix
- Create or repair the service-subdomain records in Cloudflare. In DNS » Records, add A records for
cpanel,whm, andwebmailpointing at the server IP, set to DNS only. If they exist but are orange, turn them grey. - Point users at the service subdomains.
https://cpanel.example.comandhttps://whm.example.comreach the panel over 443 via Apache’s proxy to the local services, and the DNS-only record means every port — including WebDisk, CalDAV, SSH, FTP — behaves normally. - Let AutoSSL cover them. cPanel’s AutoSSL includes service subdomains on the account and hostname certificates, so the grey-cloud path gets a valid certificate without extra work.
- If you insist on proxying panel access, restrict yourself to the compatible ports, accept that cPHulk’s per-IP logic is blind, and add a Cloudflare WAF skip for the panel hostnames so managed rules do not mangle panel POST requests. This is a compromise, not a recommendation — the operational cost outlasts the novelty.
- Keep the file and calendar services grey no matter what. There is no proxied configuration in which 2077–2080 work.
When this fix is wrong
If the real goal is hiding the origin IP even from people who know where to look, DNS-only panel records defeat it — the A record publishes the IP. That trade-off and its honest mitigations live in origin IP exposure on cPanel servers behind Cloudflare. And if nobody can reach :2083 from a specific office network while the rest of the world can, the block is on their firewall, not at Cloudflare — the 443-based service subdomains are the fix there, proxied or not.
Common mistakes
Assuming the ports are blocked and building tunnels when the record was simply missing from the new zone. Orange-clouding cpanel “for protection” and then chasing phantom cPHulk lockouts. Testing from the server itself, where split DNS and local resolution hide the problem. Forgetting that each addon domain’s zone needs its own service-subdomain records. Filing a ticket about WebDisk being “down” when it is the proxy dropping 2078 by design.
Prevention
Standardize: panel access always via DNS-only service subdomains, documented per server. After every zone migration, run the dig audit above for cpanel, whm, webmail, webdisk. The compatible-ports list is short and worth knowing cold — it is in Cloudflare’s fundamentals documentation. For the broader picture of what the orange cloud changes for a cPanel origin, see Cloudflare proxied mode in front of cPanel.
Running Cloudflare in front of cPanel/WHM is a stack Stack Harbor operates daily as an official cPanel NOC partner — WHM server management covers the DNS, mail, SSL, and firewall plumbing, and you can start a conversation any time.