This article provides a safe Cloudflare baseline for websites hosted on cPanel.
Overview
For cPanel hosting, Cloudflare should normally proxy the public website records while mail and control-panel services remain DNS Only unless a specific compatible configuration is used.
Recommended Steps
- Proxy the root domain and
wwwrecord if they serve the website. - Keep MX records and mail-related hostnames such as
mail,smtp,imap, andpopas DNS Only. - Do not proxy cPanel, WHM, FTP, or webmail hostnames unless you understand port and protocol limitations.
- Enable AutoSSL or install SSL for the domain in cPanel.
- Set Cloudflare SSL/TLS to Full (strict).
- Protect WordPress login or application admin paths with Cloudflare WAF rules.
- Ask support before attempting origin firewall restrictions on shared hosting.
Common Mistakes to Avoid
- Proxying mail records and causing email delivery or client connection issues.
- Using Flexible SSL while AutoSSL is available.
- Pointing old subdomains to the server IP and forgetting to protect them.
- Blocking Cloudflare IPs accidentally through security plugins or
.htaccessrules.