Knowledgebase: Openhost Hosting
How do I Change my Website to https://
Posted by Tim Botherway on 01 August 2018 08:14 PM

How do I convert my Website to https://

To encrypt your website, so it shows a secure padlock on the URL you need to ensure it loads correctly on https://. It is recommended to involve your developer if you’re unsure on how to edit code in websites, but you would perform the following:

1. Install an SSL certificate for the domain

2. Redirect the site

3. Clean up any code on the website that is listed as ‘insecure elements’

Installing an SSL Certificate:

You will need to purchase an SSL certificate to ensure it correctly encrypted; you can find a range of our SSL certificates on the Openhost website. Once bought our support team will be in touch to confirm the installation and advise you on the process, as they will be sending an email to validate the order.

Redirect the website:

We offer a 301 https:// redirect with our Plesk offering. Just go to your Account login >> Webhosting Plesk >> Click on your domains panel >> Under ‘Web Hosting Settings’ go ‘Manage’ then select ‘Change Hosting Settings’ >> In here turn on ‘Permanent SEO-safe 301 redirect from HTTP to HTTPS’, if the option isn’t available, get in touch with support via email.

You can also redirect your site by manually editing website code, so it is recommended to consult your developer or the person who manages your website for you. An example of code for a server running Apache:

#This goes in your .htaccess file

RewriteEngine On

RewriteCond %{HTTP_HOST} ^yourdomain\.com [NC]

RewriteCond %{SERVER_PORT} 80

RewriteRule ^(.*)$ https://www.yourdomain.com/$1 [R,L]

 

#Replace yourdomain.com with your domain

Clean up any code

Installing the SSL and redirecting may not always be enough, sometimes you will have old code that makes calls to http://. A useful tool is https://whynopadlock.com; it will analyse your website and give you the specific elements which are deemed insecure that you can then go ahead and fix.

 

FAQ:

Why is my website not showing up as secure?
You still need further work to do, but https://whynopadlock.com/ is a handy tool for helping to determine what exactly is wrong. If whynopadlock
shows no problems, then try using another browser or clearing your cache.

Can you put the code in for me?
No, our policy is we aren’t web developers so we shouldn’t be editing website code as we could break things further. If in doubt contact your web developer.

How long does SSL’s last for?
They are done an annual subscription so that you will get a reminder for renewal 30 days before the expiry.

(0 vote(s))
Helpful
Not helpful

Comments (0)