How to Install SSL Certificates Print

  • 0

How to Install SSL Certificates

An SSL (Secure Socket Layer) certificate is essential for securing your website and ensuring data encryption between your server and visitors. Here’s how to install SSL certificates on your website.

Step 1: Get an SSL Certificate

If your hosting provider offers a free SSL certificate, like Let’s Encrypt, you can install it directly through cPanel. Alternatively, you can purchase an SSL certificate from a trusted provider.

Step 2: Install SSL Through cPanel

  1. Log into cPanel.
  2. Go to SSL/TLS under the Security section.
  3. Under Install and Manage SSL for your site, select the domain for which you want to install the certificate.
  4. If you’re using Let’s Encrypt, the SSL will be automatically applied.

Step 3: Force HTTPS

Once SSL is installed, you need to make sure your website uses HTTPS by default.

  1. Add the following code to your .htaccess file:

    apache
    RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://www.yourdomain.com/$1 [R,L]
  2. This will redirect all traffic from HTTP to HTTPS.


Was this answer helpful?

« Back

Powered by WHMCompleteSolution