# Free SSL (AutoSSL) and redirecting http to https: checking your certificate status in cPanel

https://www.gyrohosting.com/en/knowledgebase/article/free-ssl-https-redirect

- **What you will learn**: How the free SSL certificate on your hosting account gets installed, where cPanel shows the certificate status and the reason for any failure, and how to send visitors to the `https://` address every time.
- **Time**: 10 minutes

## 1. Why SSL, and how does the free SSL work?

An SSL certificate encrypts the traffic between a visitor's browser and your site. Without one, browsers show **"Not secure"** in the address bar; SSL is essential for forms, logins and payment pages.

On Gyro hosting plans SSL is free and **you don't install it by hand**. cPanel's **AutoSSL** installs a Let's Encrypt certificate automatically once your domain points to the server, and renews it before it expires.

![You don't install the free SSL by hand: once your domain points to the hosting, AutoSSL installs and renews the certificate.](https://www.gyrohosting.com/resources/uploads/bilgi-merkezi/B16-01-en.webp)

> **Info**
> 
> AutoSSL has one requirement: your domain (and its `www` address) must point to this hosting server. If you have just connected your domain, finish the check in **B13** first.

## 2. See the certificate status at a glance

1. Log in to cPanel (client area → **Services** → your hosting service → **Login to cPanel**).
2. Look at the **SSL Certificate** line in the **General Information** box on the right of the home screen.

![The SSL Certificate line in the General Information box summarises your site's certificate status. The sample account's domain doesn't point to the server, so it shows Self-signed.](https://www.gyrohosting.com/resources/uploads/bilgi-merkezi/B16-03-en.webp)

| What the line shows | What it means |
| --- | --- |
| A valid certificate (with a padlock icon) | The free certificate is installed. Go to section 4 and turn on the https redirect. |
| **Self-signed** | The server's temporary certificate. Browsers don't trust it. Usually the domain doesn't point to the server yet. |

> **Warning**
> 
> The **Add SSL Certificate** link under **Self-signed** opens the certificate wizard. You don't need that wizard for the free certificate; check the cause of the error in section 3 first.

## 3. Detailed status and the cause of errors: SSL/TLS Certificates → Status

1. On the cPanel home screen, click **SSL/TLS Certificates** in the **Security** group.

![To see your certificate status, open SSL/TLS Certificates in the Security group.](https://www.gyrohosting.com/resources/uploads/bilgi-merkezi/B16-02-en.webp)

1. Open the **Status** tab at the top.
2. Find your domain and its `www` row in the list. The **Certificate Status** column shows the certificate type.
3. If the certificate couldn't be installed, the row shows the error from AutoSSL's last attempt under **"An error occurred the last time AutoSSL ran"**.

![The Status tab shows each domain's certificate status and the error from AutoSSL's last attempt. Here the error says the domain does not resolve to any IP address on the internet: it isn't pointed yet.](https://www.gyrohosting.com/resources/uploads/bilgi-merkezi/B16-04-en.webp)

Common messages:

| The error text mentions | What it means | What to do |
| --- | --- | --- |
| `does not resolve to any IP addresses` | The domain has no IP address in DNS | Set the A record or the nameservers (B13). |
| An IP address other than the hosting IP | The domain points to another server | Delete the old A record so only the hosting IP remains. |
| `No local authority` | DNS isn't managed on this server | Not a problem on its own; if HTTP validation passes, the certificate is still installed. |
| 403/404/timeout in HTTP DCV | An `.htaccess` rule, a plugin or a proxy blocks access to the validation file | Remove the rule blocking the `.well-known` folder; if you use a proxy/CDN, turn it off temporarily. |

AutoSSL retries automatically at regular intervals. After fixing the problem, wait a while; if the certificate still isn't installed, open a support ticket and include your domain.

## 4. Turn on the http to https redirect

Once the certificate is installed, make sure visitors end up on `https://` even when they arrive with `http://`. There are two ways; use **only one**.

![There are two ways to redirect; use only one of them.](https://www.gyrohosting.com/resources/uploads/bilgi-merkezi/B16-06-en.webp)

### Way 1 (recommended): Force HTTPS Redirect

1. On the cPanel home screen, open the **Domains** tool in the **Domains** group.
2. On your domain's row, click the toggle in the **Force HTTPS Redirect** column to switch it **On**.
3. If you have several domains, you can also tick their rows and use the **Enable Force HTTPS Redirect** button at the top.

![On the Domains page, switch Force HTTPS Redirect to On. Until a valid certificate is installed, the toggle and button can't be used.](https://www.gyrohosting.com/resources/uploads/bilgi-merkezi/B16-05-en.webp)

> **Info**
> 
> While a domain has no valid certificate, the toggle and the button can't be used (as in the sample screenshot). Fix the problem in section 3 first.

### Way 2: an .htaccess rule

If you prefer to manage your own redirect rules, open `public_html/.htaccess` in **File Manager** (to show hidden files, see B14 section 6) and add these lines at the **very top** of the file:

```
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
```

> **Warning**
> 
> If the file holds rules from an application such as WordPress, don't delete them; just add these three lines at the top. Make a copy of the file before you change it.

## 5. Check

1. Type `http://ornekfirma.com` in a browser and see that the address becomes `https://ornekfirma.com` on its own.
2. Click the padlock in the address bar and check that the connection is secure and the certificate is issued to your domain.
3. Repeat the test with `www.ornekfirma.com`.

## 6. Troubleshooting

| Symptom | Likely cause | Fix |
| --- | --- | --- |
| The browser says "Not secure" and cPanel shows **Self-signed** | The domain doesn't point here, or validation failed | Read the error text in section 3; fix the pointing with B13. |
| Padlock shown but "parts of this page are not secure" | The page loads images, CSS or scripts over `http://` (mixed content) | Change the site address to `https://` in your site's settings; in WordPress, update both addresses under **Settings → General**. |
| "Too many redirects" (ERR_TOO_MANY_REDIRECTS) | Both Force HTTPS and an .htaccess rule, or a conflicting setting on a proxy/CDN | Keep the redirect in one place only; if you use a proxy, check its SSL mode. |
| Certificate error on the `www` address | No `www` record, or it points elsewhere | Point a CNAME or A record for `www` to the hosting (B13). |
| The Force HTTPS Redirect toggle can't be clicked | There's no valid certificate yet | Once the certificate is installed, the toggle becomes usable. |

## 7. Tips

- If you move a site to a new domain or add domains (B17, B18), certificates for those addresses are installed the same way, automatically.
- Renewal is automatic; you don't need to do anything. However, if you point your domain to another server, the certificate can't be renewed.

## 8. Frequently asked questions

**Does the SSL certificate cost extra?**

No. On hosting plans the Let's Encrypt certificate is free and is installed and renewed automatically.

**When is the certificate installed?**

On AutoSSL's next run after your domain points to the server. You can follow it on the **SSL/TLS Certificates → Status** tab.

**Can I use a paid certificate I bought myself?**

Yes. You can install your certificate and its key on the **Installation** tab of the **SSL/TLS Certificates** tool. If you need help with the installation, open a support ticket.

**Are certificates installed for subdomains and email too?**

Yes. Addresses such as `mail.` and `webmail.` also appear in the Status list; once they point to the server, AutoSSL installs certificates for them too.

**Will moving from http to https hurt my Google ranking?**

A permanent (301) redirect tells search engines the address has moved to https for good; the .htaccess rule in this guide uses 301. After switching, check that every page opens over https and there are no mixed content warnings.

> **Did you know?**
> 
> The error text in the Status list is the raw log of AutoSSL's last attempt. If you copy it into your support ticket, the problem is understood much faster.

## Next steps

- **Create a subdomain:** **B17 — Creating a subdomain in cPanel**.
- **See hosting plans:** [Web Hosting](https://www.gyrohosting.com/en/hosting).
