> For the complete documentation index, see [llms.txt](https://docs.hostinger.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hostinger.com/websites/ssl.md).

# SSL Certificates

Free lifetime SSL on every domain and subdomain you host with us. One click to install, auto-renewed as long as the site stays on Hostinger.

All Web, Cloud, and Agency hosting plans include lifetime SSL at no extra cost.

## Requirements

* The website is added to your hosting plan.
* The domain is pointing to Hostinger and DNS has propagated. See [Domain Pointing](/domains/pointing.md).

## Install SSL

1. Open **Websites** in hPanel.
2. Click **Dashboard** next to the domain or subdomain.
3. In the sidebar, go to **Security** → **SSL**.
4. Click **Install SSL**.

The certificate moves through **Installing** and lands on **Active** within a few minutes. To verify, open your site in an incognito window or clear your browser cache.

> If the **Install SSL** (or **Import SSL**) button isn't shown, a certificate is already installed on that domain. Uninstall the existing certificate first if you need to reinstall.

## Force HTTPS

Once SSL is active, redirect HTTP traffic to HTTPS.

**Option A: hPanel toggle**

In the SSL panel, enable **Force HTTPS**.

**Option B: `.htaccess`**

```apacheconf
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
```

## Renewal

Hostinger renews your certificate automatically — no action needed as long as the site is hosted with us and the domain still points to Hostinger.

## Status

The SSL panel shows:

* Active / inactive per domain
* Certificate expiry date
* Any issuance or renewal errors

## Troubleshooting

**SSL failed to install** The domain probably isn't pointing to Hostinger yet, or DNS hasn't fully propagated. Run a DNS lookup against the domain and wait for propagation (up to 24–48 hours after pointing) before retrying.

**Install / Import SSL button missing** A certificate is already installed on that domain. Uninstall it first, then reinstall.

**Mixed content warnings** Some assets are still loaded over HTTP. Update URLs in your site to `https://` or protocol-relative `//`.

**Certificate not renewing** Auto-renewal needs the domain to keep pointing to Hostinger. If DNS was changed, fix it and the next renewal cycle will pick up.

***

*Last updated: July 21, 2026*
