# SSL Domain Validation Methods: Email, DNS, HTTP

https://voligen.com/en/knowledgebase/article/ssl-domain-validation-methods

Before an SSL certificate is issued, the certificate authority checks that you really control the domain. This is called domain control validation (DCV) and it can be done in three ways: email, a DNS record or a file uploaded to your website. This guide explains when to use each and how.

![Three different paths lead to the same result: your domain is approved.](https://voligen.com/templates/website/Voligen/assets/images/kb/ssl-dogrulama-yontemleri.svg)

## The methods at a glance

| Method | What you do | Best when |
| --- | --- | --- |
| Email | Click an approval link sent to a specific address on the domain | You use email on the domain; usually the quickest |
| DNS | Add a TXT or CNAME record you are given | You can edit DNS; recommended for wildcards |
| HTTP file | Upload a text file to a specific folder on your site | The site is live and you can upload files |

## Before you start

- You need a CSR for your SSL order. See "Activating a paid SSL certificate".
- Depending on the method, you need access to the mailbox, the DNS panel or cPanel **File Manager**.

## 1. Email validation

The certificate authority sends an approval email to one of the standard admin addresses on your domain:

```
admin@example.com
administrator@example.com
hostmaster@example.com
postmaster@example.com
webmaster@example.com
```

1. Pick one of these addresses in the order. If it does not exist, create it first under **Email Accounts** in cPanel.
2. Click the approval link in the email, or enter the code from the email on the page that opens.

> ****Note****
> 
> Your personal Gmail or Outlook address cannot be used; the address must be on the certificate's domain.

## 2. DNS validation

The certificate authority gives you a record name and value. You add the record to your domain's DNS, and validation completes once the authority sees it. A record might look like this:

```
_validation-code.example.com.  300  IN  CNAME  abc123.dcv-example.com.
example.com.                   300  IN  TXT    "validation-value-abc123"
```

1. Note the record type (TXT or CNAME), name and value.
2. Add it where your DNS is managed: cPanel **Zone Editor** for Voligen hosting, or your DNS provider's panel.
3. Wait for the record to propagate and for the authority to finish its check. You can delete the record after the certificate is issued.

![1: choose a method, 2: add the record or upload the file, 3: wait for approval.](https://voligen.com/templates/website/Voligen/assets/images/kb/ssl-dogrulama-yontemleri-adim.svg)

## 3. HTTP file validation

The certificate authority gives you a `.txt` file containing a random string. It must be reachable at this address on your site:

```
http://example.com/.well-known/pki-validation/FILENAME.txt
```

1. In cPanel **File Manager**, create the `.well-known/pki-validation` folder inside `public_html` (you may need to turn on showing hidden files).
2. Upload the file there without changing its name or content.
3. Open the address above in a browser and check that the content appears.

> ****Warning****
> 
> Wildcard certificates cannot be validated with the HTTP file method. Use email or DNS for wildcards.

## Troubleshooting

| Symptom | Likely cause | Fix |
| --- | --- | --- |
| No approval email | The address does not exist, MX points elsewhere or the mail went to spam | Create the address, check spam, or switch to DNS. |
| DNS record not found | Wrong record name (domain added twice) or still propagating | Check whether your panel appends the domain automatically; wait a little. |
| HTTP file returns 404 | Wrong folder, or an `.htaccess` rule blocks it | Check the path and file name; temporarily remove the blocking rule. |
| Validation never starts | A CAA record does not allow this authority | Update or remove the CAA record. |

## Frequently asked questions

### Which method is fastest?

If the mailbox exists, email is usually fastest. DNS takes as long as the record takes to propagate, but once in place it is the most reliable.

### Can I change the method later?

In most cases, yes, as long as the certificate has not been issued yet. Open a support ticket to change it.

### Do I need to validate again at renewal?

Yes. The domain is validated again every time a new certificate is issued.

Stuck on validation? [Contact us](https://voligen.com/iletisim) or open a support ticket from the client area. For certificate options, see our [SSL certificates](https://voligen.com/ssl-sertifikalari) page.
