+1-855-211-0932 (ID:287497)
Don't have an account yet? Sign up now!

HomeArticlesHow To Enable SSL (HTTPs) for your website?

How To Enable SSL (HTTPs) for your website?

How To Enable SSL (HTTPs) for your website?

Category: Web Applications

Website visitors are becoming more aware of the importance of secure data transfer, and they often look for the green lock that appears in their browser on HTTPs-enabled websites.

Before you can have your website loading at https:// instead of http://, you need to have an SSL certificate installed for your domain.

You can get one from the hosting control panel: My Domains -> SSL Certificates

The options are either to:

  • Order SSL certificate
  • Request Let's Encrypt certificate

Once you have installed the SSL, please allow up to 1 hour for the new SSL IP propagation!

After you have enabled the SSL certificate on your domain name, you will need to set up a redirect for your website to use SSL and the HTTPs protocol.

This procedure is valid for any static or dynamic website that does not have a configuration for the URL it is installed on, like WordPress.

If you need to enable HTTPs for your WordPress site, please see the How To Enable SSL (HTTPs) in WordPress article.

Steps to enable HTTPs

  1. First, go to Files -> File Manager in your hosting control panel and navigate to your domain root folder, usually /www/mydomain.com/
  2. If there is no file called .htaccess created, then create one using the New File button.
  3. Edit the .htaccess file and place the following code at the top:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
    

Click Save.

Once you do this, your website is now fully set up to use SSL / HTTPS.



Tags: , , , , , , , , , , , , , , , , , , , ,

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>