
SSL certificate types differ in how many domains and subdomains they cover. Choosing the wrong type either leaves some of your services unprotected or costs more than necessary. Here's the breakdown.
A single-domain certificate covers exactly one fully-qualified domain name. It will cover yourdomain.com and usually www.yourdomain.com (most CAs include the www variant automatically as a SAN).
What it covers:
yourdomain.comwww.yourdomain.com (typically included)What it doesn't cover:
api.yourdomain.comapp.yourdomain.comBest for: Simple sites with a single domain and no subdomains that need HTTPS. Also appropriate when you're using Let's Encrypt per-service, where certificates are free and auto-renewed anyway.
Cost: Let's Encrypt — free. Commercial CAs — lowest cost tier.
A wildcard certificate covers a domain and all of its immediate subdomains using the * notation:
*.yourdomain.com
What it covers:
www.yourdomain.comapi.yourdomain.comapp.yourdomain.commail.yourdomain.comWhat it doesn't cover:
yourdomain.com itself (the apex domain) — you need this listed separately or use a SANdev.api.yourdomain.com — wildcards only cover one level deepanotherdomain.com)# Check if a wildcard covers a specific host
openssl x509 -in wildcard.crt -noout -text | grep -A2 "Subject Alternative"
# Should show: DNS:*.yourdomain.com, DNS:yourdomain.com
The apex domain caveat: *.yourdomain.com does not match yourdomain.com. You need the apex explicitly included. Most CAs include it as a SAN automatically — verify when ordering.
DNS validation for wildcards: Let's Encrypt requires DNS-01 challenge validation for wildcard certificates (HTTP-01 validation doesn't work for wildcards). This means you need either a DNS provider with an API that Certbot can use, or manual DNS validation. See how to rotate SSL certificates without breaking your site for the renewal workflow.
Best for: Services with multiple subdomains under one domain — SaaS apps with app., api., admin., docs., etc.
Cost: Let's Encrypt — free (with DNS-01 validation). Commercial CAs — mid-tier, typically $70–300/year.
A SAN certificate lists multiple specific domains and subdomains explicitly. It can cover domains from completely different base domains.
yourdomain.com
www.yourdomain.com
api.yourdomain.com
anotherdomain.com
www.anotherdomain.com
What it covers:
What it doesn't cover:
# See all SANs in a certificate
openssl x509 -in certificate.crt -noout -text \
| grep -A1 "Subject Alternative Name"
Best for:
dev.api.yourdomain.com) that wildcards can't handleCost: Let's Encrypt — free (up to 100 SANs per certificate). Commercial CAs — priced per SAN or in tiers.
| Type | Covers | Doesn't cover | Let's Encrypt |
|---|---|---|---|
| Single-domain | One domain + www | Any other subdomain | Free |
| Wildcard | *.domain.com + apex | Multi-level subdomains, other domains | Free (DNS-01 only) |
| SAN / Multi-domain | Any listed domain | Unlisted domains, future subdomains | Free (up to 100 SANs) |
Choose wildcard if:
Choose SAN if:
staging.api.yourdomain.com)Common pitfall: buying a wildcard when you actually need a SAN. For example: *.yourdomain.com does not cover staging.api.yourdomain.com. To cover that, you either need *.api.yourdomain.com (a second wildcard for that subdomain level) or a SAN listing it explicitly.
The type of certificate affects how you monitor it:
Domain Monitor monitors SSL certificate expiry for each domain you add — when your wildcard or SAN certificate is approaching expiry, you get advance warning before any service is affected. Create a free account.
Wildcard, SAN (multi-domain), and single-domain SSL certificates cover different use cases. Here's a clear comparison to help you pick the right type — and avoid paying for coverage you don't need.
Read moreDNS resolves correctly from your office but fails for users in other countries or on different ISPs. Here's why geographic DNS inconsistency happens and how to diagnose which layer is causing it.
Read moreRegistrar lock and transfer lock are often confused — and disabling the wrong one leaves your domain vulnerable. Here's a clear breakdown of what each does and when to use them.
Read moreLooking to monitor your website and domains? Join our platform and start today.