Knowledgebase

My cPanel won't load or keeps logging me out after enabling Cloudflare

Symptom:
You try to access your cPanel behind Cloudflare and are finding that on the first page load that no images (or stylesheets or javascript) load - and, when trying to navigate to any link, you are immediately logged out. The experience is as if cPanel were broken in some way.

Cause: 
cPanel has an option called "Cookie IP Validation". This setting checks that the IP address that the visitor originally came from matches their IP address on subsequent requests. With Cloudflare, the IP address for requests to your server can variably come from any IP address in the list at https://www.cloudflare.com/ips

Resolution:
The solution is to access the cPanel server on a URL that doesn't proxy through Cloudflare. Please use the URL  http://cpanel.YourDomain.com
Make sure this subdomain is not proxied through Cloudflare (not orange clouded).

  • Cloudflare, cPanel
  • 44 Users Found This Useful
Was this answer helpful?

Related Articles

Adding an Add-on Domain in cPanel

Your account may include the ability to host multiple websites depending on your hosting package....

Changing your File Upload Size

Changing the file upload size can be done by following the steps provided below:   1. Log into...

Increasing PHP Memory limit

For Shared and Reseller customers you can easily do this in cPanel by taking the following steps:...

Enable or Disable statistics(Awstats, Webalizer, Analog) from cPanel

Log into cPanelSelect the "Metrics Editor" icon under the Metrics section: Once in the Metrics...