Knowledge Base

Adding Free SSL Certificates by Let's Encrypt to your domain

In the CheddarHost Control Panel, you can install a free SSL certificate (provided by Let's Encrypt) for your domain that renews itself automatically every 90 days.

Before Installing the SSL Certificate

In order for the SLL certificate to be installed correctly, it's important that your domain is already pointed to the CheddarHost servers.
At your domain registrar, your domain's nameservers should be set to and

If you have just changed your nameservers to the CheddarHost nameservers recently, you may need to wait up to 48 hours for the nameserver change to fully take effect. Sometimes it happens in a few minutes.
You can check how far your DNS records have propagated here: Enter your domain name at the top left and click "Search". If all or most of the locations show the IP address of your CheddarHost server, then it is safe to attempt installing the SSL certificate. You can find your CheddarHost server IP address at the top left of your CheddarHost Control Panel. It is likely

Installing the SLL Certificate

  1. Log into your CheddarHost Control Panel at
  2. If you are installing the SSL Certificate for your main domain, go to Websites > List Websites. (
    If you are installing the SSL Certificate for a child domain, go to Websites > List Domains. (
  3. Click "Issue SSL" for the domain or website you want to install it on.
  4. Once it says that it has been installed successfully, click on "Manage" for that website or domain.
  5. Go to Configurations > Rewrite Rules. Copy the relevant snippets below for your domain and paste them into your "Rewrite Rules". Editing the "Rewrite Rules" is the same as editing your .htaccess file.

Force NON-WWW to WWW:

### START: Force NON-WWW to WWW
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www. [NC]
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
### END: Force NON-WWW to WWW

Force WWW to NON-WWW:

### START: Force WWW to NON-WWW
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.(.*)$
RewriteRule ^(.*)$ http://%1/$1 [L,R=301]
### END: Force WWW to NON-WWW

Force HTTP to HTTPS:

### START: Force HTTP to HTTPS
RewriteEngine On
RewriteCond %{HTTPS}  !=on
RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]
### END: Force HTTP to HTTPS
Please rate this article to help us improve our Knowledge Base.

0 0