WHAT'S NEW
Web Hosting & Server Basics · GuideGuides › Web Hosting & Server Basics

Installing a Free SSL Certificate

Get the padlock on your site with a free certificate, make every page load over HTTPS, and check that it renews by itself.

📶 Beginner⏱ 7 min🗓 Updated November 17, 2026❤ 0
ssl.txt
// Goal
http://example.com   → https://example.com  ✓
price:    free
renews:   automatically
warning:  none
// Before you start

🧰 What you need first

  • A domain pointing at your host
  • Access to your control panel

🎯 What you'll learn

  • Turn on a free SSL certificate
  • Send every visitor to HTTPS
  • Fix "not fully secure" warnings

🛠 Tools needed

  • Your hosting control panel
  • A web browser
01 / Start here

What SSL does

An SSL certificate lets your site load over HTTPS. Everything between the visitor and your server is encrypted, and browsers show a padlock instead of a "Not secure" warning.

You don't need to pay for one. Free certificates from Let's Encrypt are trusted by every browser.

Note: Your domain must point at your hosting before a certificate can be issued. If you just changed DNS, wait until the site loads from your new host.

02 / Step 1

Turn it on

  1. In cPanel, open SSL/TLS Status.
  2. Tick your domain and the www version.
  3. Click Run AutoSSL and wait a few minutes.

Other hosts have a Let's Encrypt or SSL button in their dashboard. It does the same job.

03 / Step 2

Force HTTPS

Having a certificate isn't enough. Visitors can still type http://. Send everyone to HTTPS:

  • Many hosts have a Force HTTPS Redirect switch in the Domains tool. Turn it on.
  • In WordPress, make sure both addresses under Settings → General start with https://.
04 / Step 3

Fix mixed content

If the padlock is missing or shows a warning, some images or scripts are still loading over http://. This is called mixed content.

  1. Open the page, press F12 and look at the Console for "Mixed Content" lines.
  2. Change those links to https://.
  3. In WordPress, a search-and-replace tool can update old http:// links in the database. Back up first.
05 / Step 4

Check renewal

Free certificates last about 90 days and renew automatically. In SSL/TLS Status, check the expiry date. If it's getting close and hasn't renewed, run AutoSSL again or contact your host.

06 / Help

Common problems

AutoSSL fails for my domain

Why: Your domain doesn't point at this host yet, or a CAA DNS record blocks the certificate company.
Fix: Check your DNS points here and wait for it to spread. Remove or update any CAA record.

Padlock works on example.com but not www

Why: The certificate doesn't cover www.
Fix: Make sure www is ticked in SSL/TLS Status and has a DNS record, then run AutoSSL again.

Redirect loop after forcing HTTPS

Why: Two redirects are fighting, for example the host and a plugin, or a CDN set to Flexible SSL.
Fix: Keep only one HTTPS redirect. On Cloudflare, use Full (strict) SSL mode.

// Recap

Key takeaways

Most hosts include free SSL through Let's Encrypt or AutoSSL
Your domain must already point at your host
Force HTTPS so nobody lands on the insecure version
Check the renewal date, then let it renew by itself
// What's next

Keep going

Enjoyed this guide?

Support free learning at mC0de.

PIX0
</> {} JS 01
0101 </> CSS JS HTML PIX0 const {} 1010 async mC0de function return 0101 <div> 1010 PIX0 CSS JS HTML const {} 0101 mC0de
PIX0 // WORLD OF CODE
PIX0 IS PREPARING SOMETHING AWESOME FOR YOU 0%