Login to AMP –> WHM –> List Accounts –> cPanel of domain to secure
Under Security –> SSL/TLS status –> Run Auto SSL
Next…. You will have to force browsers to use the https
IF you have a handwritten website:
Download .htaccess from your public_html folder
Add this code at the top of the file
RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$RewriteEngine On RewriteCond %{HTTP_HOST} ^example\.com [NC]RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://www.example.com/$1 [R=301,L]
**Replace example with your domain
Upload .htaccess back to your server
IF you have a WordPress site:
Login to your WP dashboard –> Plugins –> “Add New”
Search “Really Simple SSL” –> It will be by Really Simple Plugins
Install Now –> Activate –> Go ahead, activate SSL! (it may ask you to login again)