How to apply Free SSL provided by us to your website?

We provide free SSL to all our customers for all of their domains and subdomains. But you need to do a little bit so that your website opens with https always. Here is a guide on how to make your website use SSL certificate by us.

For new WordPress installation or edit existing one through Softaculous:

  1. Go to Softaculous in your cPanel and click on Softaculous to Install a CMS (WordPress or any other), or to edit existing installation.

 

2. For a new installation, click on install now. To edit an existing installation, click on the edit button next to installation.

 

3. For new installation, select https://www from drop-down menu. Note that https://www will only be available after a valid SSL creation for new cPanel account, Which may take up to 12 hours for a new domain. If you wanna install SSL immediately after adding a domain, you can do so from SSL Status option in cPanel.

\

 

4. If editing existing installation, change http:// to https:// in URL field. Then save details and you are done.

In case of existing non-softaculous installation:

  1. Open file manager in cPanel.

2. Open public_html.

 

3. Click on settings at top right corner. Then check the show hidden files options and save it.

4. Now select .htaccess file and click on edit button in the top bar.

If the .htaccess file doesn’t exist, click on the +File button at top left. A pop-up will appear. In new file name field, input file name as “.htaccess” and click on Create New File Button. Then do the step 4.

5. A pop-up box will appear. Click on Edit.

6. Now enter the following code at the top in .htaccess file. Be extremely conscious while editing .htaccess file. Don’t change anything else. Otherwise your website may crash. Enter following code:

————————————————————————

#Force from http to https
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]

————————————————————————

Replace “yourdomain” with your website address without www. Like for www.thehostme.com, your domain will be thehostme.com. After editing, save file by clicking on save changes at top right.

 

Your SSL would be working now.

Leave a Reply

Your email address will not be published. Required fields are marked *