in CloudFlare

cPanel/WHM errors after enabling CloudFlare

1 Star2 Stars3 Stars4 Stars5 Stars
Ratings: 4.20/5 from 10 users.

When You try to access your cPanel/Whm behind CloudFlare (after enabling CloudFlare) and 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.


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


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

Written By:

Blog for everything about hosting, website, server and technical support

Add a Comment

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.