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.
- 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 the following code:
———————————————————————————–
#Force from http to https
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]
———————————————————————————-
After editing, save file by clicking on save changes at top right.
Your SSL would be working now.