SSL certificates encrypt traffic between your website and visitors. cPanel often includes free AutoSSL.
AutoSSL (Let's Encrypt)
If AutoSSL is enabled:
- Go to SSL/TLS Status in cPanel
- Select the domains you want to secure
- Click Run AutoSSL
Certificates are issued automatically and will renew before they expire.
Force HTTPS
To redirect all HTTP traffic to HTTPS:
- Go to Domains or Redirects
- Create a redirect from
http://yourdomain.comtohttps://yourdomain.com
Or add this to your .htaccess in public_html:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]