in CloudFlare

My cPanel/WHM won’t load or keeps logging me out after enabling CloudFlare

4.33
1 Star2 Stars3 Stars4 Stars5 Stars
Ratings: 4.33/5 from 3 users.
Loading...

When You try to access your cPanel/Whm 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:

To resolve this issue, firstly disable temporarily cloudflare, then in your WHM, navigate to "Tweak Settings" -> "Security" -> "Cookie IP Validation". On this screen, set the value for "Cookie IP Validation" to "disabled". After this, loading your cPanel WHM interface through CloudFlare should work as expected.

Related Posts

Add a Comment

Your email address will not be published. Required fields are marked *