How to Get Free HTTPS for Your Website
You can get free HTTPS for a website with a certificate from your host, Certbot, Caddy, or a CDN proxy. Pick the route that matches where the site runs, then redirect and test.
Step 1: choose how to get the certificate
| You have | Use |
|---|---|
| Shared hosting | Host's free SSL option |
| VPS or dedicated server | Certbot, acme.sh or Caddy |
| Static site on a platform | Platform's HTTPS setting |
| Any site, CDN is fine | CDN edge certificate |
If you are on a panel, see DirectAdmin or aaPanel. For a CDN, see the Cloudflare guide.
Step 2: issue the certificate
On a VPS with Nginx:
sudo certbot --nginx -d example.com -d www.example.com
With Caddy, HTTPS is on by default. A minimal file is enough:
example.com {
root * /var/www/html
file_server
}
Caddy requests and renews the certificate itself as long as the domain points to the server and ports 80 and 443 are open. A comparison with other servers is in Caddy vs Traefik vs Nginx.
Get free HTTPS for your website: the redirect
Certbot can add the redirect. If you manage it yourself in Nginx:
return 301 https://$host$request_uri;
WordPress on Apache can use the .htaccess redirect guide.
Step 4: fix mixed content
After the switch, pages may still load images or scripts over http://. Browsers block or warn about them. Search your templates, database and theme settings for http:// URLs and change them to https:// or to relative paths. The WordPress mixed content fix and the mixed content checker help you find them.
Step 5: update your site settings
- Set the site address to https in your CMS.
- Update canonical tags and the sitemap.
- Add the https version in Google Search Console.
- Update links in social profiles and email signatures.
SEO impact of the switch is covered in whether switching affects rankings.
Get free HTTPS for your website: test it
Use the HTTPS checker and confirm that http:// redirects to the https:// address in one hop. Check that the padlock appears on key pages.
Step 7: keep it working
Renewal must work for HTTPS to last. Test it and monitor expiry:
sudo certbot renew --dry-run
Optional: HSTS
Once everything works over HTTPS, you can send an HSTS header so browsers always use HTTPS. Start with a short max-age and raise it after testing, because HSTS cannot be undone quickly. The security headers guide covers it.
What it looks like when it works
After setup, a request to the HTTP address should return a single 301 to the HTTPS address, and that page should return 200. No further redirects are needed. Test with:
curl -I http://example.com
curl -I https://example.com
The first should show a 301 and a Location header with https. The second should show 200. Chains of redirects slow the site and confuse crawlers, so fix them early.
If your site is on a platform
Website builders and static hosts often enable HTTPS for you once the domain points to them. Look in the domain settings for an HTTPS toggle or a status line such as "certificate pending". Pending usually means DNS is not yet pointing to the platform, so check the records before you contact support.
Related reading: creating a free certificate and forcing HTTPS in WordPress.
Frequently Asked Questions
Does HTTPS slow my site down?
Not in any way users notice. TLS 1.3 needs one round trip, and HTTP/2 only works over HTTPS, which often makes pages faster.
Will my search rankings drop?
Not if you redirect correctly. See the linked guide on the switch above for the steps.
Do I need to do anything for images and scripts from other sites?
Yes. Every external resource must be available over HTTPS, or browsers will block or warn about it.
What about my email and subdomains?
Mail servers have their own certificates, and each subdomain needs coverage by a SAN entry or a wildcard.
✅ Post-Installation Verification & SEO Checklist
After applying the steps above, run through this 5-point checklist to prevent browser warnings and protect your Google SEO rankings:
- Verify full CA chain trust and TLS 1.3 support using our Live SSL Checker.
- Scan for Mixed Content HTTP links and check HSTS/CSP headers on Security Headers Checker.
- Enforce a permanent 301 HTTP-to-HTTPS redirect with our HTTPS Redirect Generator.
- Confirm both root and
wwwversions resolve cleanly to one canonical HTTPS URL. - Verify your HTTPS property and
sitemap.xmlinside Google Search Console and Bing Webmaster Tools.