How to Force HTTPS in cPanel
Forcing HTTPS ensures that all traffic to your website is securely encrypted, providing better security and trust for your visitors. cPanel makes it simple to redirect all HTTP requests to HTTPS. Here’s how you can set it up:
Step 1: Log In to cPanel
- Access your hosting account’s cPanel dashboard by logging in with your credentials.
Step 2: Locate “Domains” Section
- Once logged in, scroll down to the Domains section.
- Click on Domains to open the domain management page.

Step 3: Enable “Force HTTPS Redirect”
- In the Domains page, you will see a list of all domains and subdomains hosted on your account.
- Locate the domain or subdomain for which you want to enforce HTTPS.
- Toggle the switch under the Force HTTPS Redirect column to On.

Step 4: Verify HTTPS Redirection
- After enabling the redirection, visit your website in a browser using
http://yourdomain.com
. - The URL should automatically redirect to
https://yourdomain.com
, confirming that HTTPS is now enforced.
Alternate Method: Using .htaccess (For Advanced Users) – Click Here to Read
Was this article helpful?
YesNo