How To Access CPanel Within CloudFlare Enabled Website

cPanel Login

After activating CloudFlare on one of my website, I discovered that access to cpanel via website.com/cpanel was no longer working; instead, it redirects to the home page. So, for all attempt to access cPanel behind CloudFlare, result to a redirect. Here is how I resolved it.

The Problem
Once you modify your domain DNS to point to CloudFlare servers, you cannot access cPanel using yoursite.com/cpanel.

The Solution
CloudFlare allows traffic through the default cPanel ports, 2082 (HTTP) and 2083 (HTTPS).

Hence, to access cPanel with CloudFlare enabled, try any of the following:

  • yoursite.com:2082/
  • yoursite.com:2083/ (over SSL)
  • yoursite.com.com/cpanel (if your DNS is still pointing to your web host)

If you wish to access cPanel without going through CloudFlare, try creating a cpanel subdomain – cpanel.yourdomain.com.

How to Create cPanel Subdomain in a Shared Hosting Plan

1. Go through the post on how to add subdomain to cloudflare site.

2. After adding the domain, go back to CPanel and add a redirect record to the created subdomain, pointing to yoursite.com:2083 (prefered) or yoursite.com:2082, as the case maybe.

Great, u just saved my day

0 Like Like Quote Report
0 Like Like

Pls note, in some settup, you can only access cpanel through 2083 cpanel port

1 Like Like Quote Report
1 Like Like