SSL Domain Validation Methods: Email, DNS, HTTP

Updated: 4 December 20264 min read30 viewsMarkdown

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 paths from a globe through an envelope, a DNS row and a document icon to an approval seal
Three different paths lead to the same result: your domain is approved.

The methods at a glance

MethodWhat you doBest when
EmailClick an approval link sent to a specific address on the domainYou use email on the domain; usually the quickest
DNSAdd a TXT or CNAME record you are givenYou can edit DNS; recommended for wildcards
HTTP fileUpload a text file to a specific folder on your siteThe 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.
Three-step flow: choosing a validation method, a highlighted DNS record row and an approval seal
1: choose a method, 2: add the record or upload the file, 3: wait for approval.

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

SymptomLikely causeFix
No approval emailThe address does not exist, MX points elsewhere or the mail went to spamCreate the address, check spam, or switch to DNS.
DNS record not foundWrong record name (domain added twice) or still propagatingCheck whether your panel appends the domain automatically; wait a little.
HTTP file returns 404Wrong folder, or an .htaccess rule blocks itCheck the path and file name; temporarily remove the blocking rule.
Validation never startsA CAA record does not allow this authorityUpdate 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 or open a support ticket from the client area. For certificate options, see our SSL certificates page.

Was this article helpful?
Thank you for your feedback.