How to install your FREE SSL certificates

You can install free SSL Certificates from Let's Encrypt.

Please note that you can only generate free SSL Certificates for websites that you host on our servers, this will not work for domains hosted elsewhere.

To do this log into your Direct Admin control panel at www.YOURDOMAIN.co.nz/config. And if you have multiple domains click on the domain you wish to work with.

First you need to ensure that your domain has SSL enabled.

  1. Under the Your Account heading click on Domain Setup
  2. Click on the domain
  3. Make sure that Secure SSL is ticked.
  4. You can choose to have different content served under https to what is served under http or you can choose to have the same content.
    If you would like the same website content served under https and http then make sure that Use a symbolic link from private_html to public_html - allows for same data in http and https is selected.
    Or if you would prefer to have different content choose Use a directory named private_html. If you choose this option then upload your secure content into the private_html folder.

Now you are ready to create an SSL certificate.

  1. Return to Home, and if you have multiple domains click on the domain you wish to work with.
  2. Under the Advanced Features heading click on SSL Certificates
  3. Select the option for Free & automatic certificate from Let's Encrypt
  4. Enter the Common Name. This must be your domain name, enter the domain name without the www.
  5. Enter your email address, this must be the same email address that appears on the registrant contact details for your domain.
  6. Tick any additional sub-domains that you would like to secure. If you would like to secure www.yourdomain.co.nz then make sure that the www option is ticked.
  7. Click Save.

That's it! You do not need to worry about re-newing your free certificates, this will be handled for you automatically.

Set up a redirect to send all http traffic to https

To ensure that all traffic to your website is secured you will need to redirect traffic from http://www.yourwebsite.com to https://www.yourwebsite.com.

Also if your website has any domain pointers you will need to ensure that these redirect to the domain for which your certificate was issued.

If your site uses a CMS you may be able to do this by changing your website URL in your CMS settings, or by installing a https redirect plugin such as this one for WordPress.

For other sites or if you want to make certain all traffic is secured, create a file called ".htaccess" and place it in your site's public_html directory. Put the following code into the file:

RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://www.yourdomain.com%{REQUEST_URI} [R=301,L]

Replace www.yourdomain.com with the domain your certificate was issued for.

If your site already has a .htaccess file then this code should be placed at the top of the file before all other content.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to use the Direct Admin control panel

Help with the Direct Admin control panel is available by clicking the help link from within...

How to log into the DirectAdmin control panel

Using the DirectAdmin control panel you can create and manage your email accounts, email...

I've lost my Direct Admin password

If you have forgotten your Direct Admin password you may create a new password by following...

Resellers: How to create custom nameservers

If you have a reseller account you might like to have your own nameservers for your customer's...

Changing your PHP version

If you require a specific version of PHP you can change the PHP version used by your account.To...

Powered by WHMCompleteSolution