Our servers
Generating a SSL certificate
Our servers are Apache with cPanel accounts
- Open the cPanel dashboard of the account
- Use the search and type βSSL statusβ
- Open the SSL status
- Select all the domain records
- Click the Auto SSL button
- It will take a few minutes but then the certificate will be generated
Redirect http to https via htaccess
Add this code snippet to the
.htaccess
file inside ~/public_html/
to redirect http requests to https# Begin SSL
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
</IfModule>
#End SSL
Cloudflare
If the domain is linked to Cloudflare you can ensure a secure connection via the options available.
Quick start guide
- Improve security
- Automatic HTTPS Rewrites β turn this on
- Always use HTTPS β turn this on
- Optimize performance
- Auto Minify β toggle all these options on if we want to Cloudflare to do this
- Brotli β best to turn this on
- Summary
- Done
Netlify
-
Vercel
Β