WHM asking to log in repeatedly when using CloudFlare

If you use CloudFlare to accelerate and protect the domain that you and your customers use to access your server for WHM, cPanel and webmail, then you may experience an issue whereby you are asked to log in repeatedly, even when the correct username and password has been supplied. This is due to an interaction between CloudFlare’s distributed way of connecting to shared hosting servers, and WHM’s security mechanisms.

Fortunately, it’s very easy to avoid! By default, CloudFlare enables a subdomain for direct access to the shared hosting server – if your domain is example.com, then the direct access subdomain will be direct.example.com. So, for example, webmail will be accessible at http://direct.example.com/webmail. Alternatively, if you wish to use SSL to connect to services (recommended), you can use the primary hostname for your server, which can be found in Backstage (and was what you specified when you signed up) – as the primary hostname will be on a different domain, it won’t be affected by CloudFlare.

The direct access method can also be used during period of active development as it’s common to need to check the latest versions of scripts or graphics that are undergoing regular updates. In order to do this, the site can be accessed with the root domain, rather than with the www. prefix .

For example : http://yourdomain.com rather than http://www.yourdomain.com.

  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

VPS Server Management from Clients Panel

For Customers to access their New VPS service, they need to do the following:Click on Services...

WHM/cPanel Log files

cPanel logs most activity tdat happens on a server to log files so you can go back and review log...

How to redirect your website from HTTP to HTTPS ?

We are going to explain two ways to enable HTTP to HTTPS redirect:Using .htaccess file:Create or...

How to recompile Apache/PHP in WHM

Log into WHM and navigate to EasyApache (Apache Update)On the main page make sure ‘Begin by...

How To Fix "headers already sent" PHP Errors

Sometimes you my see an issue loading your site ( sometimes a 500 error ) and when you look into...