On this page
What this issue is
A certificate proves a server is allowed to answer for a domain name. Modern browsers read the allowed names from the Subject Alternative Name (SAN) list. The apex (or root) domain is example.com. The www host is www.example.com. They are two different names, so a certificate must list each one.
- Ad or link to www.example.comVisitor clicks
- TLS handshakeCertificate lists only example.com
- Landing pageNever shown
- Form or checkoutNever reached
A visitor who uses the host missing from the certificate never reaches the page.
Why it costs you leads or sales
Example: if 40% of your links use the host missing from the certificate, those visits are blocked while the rest work.
How to check if your site has it
Open both versions in a private window
Visit https://example.com and https://www.example.com. A warning on either one means the problem exists.
Read the certificate names
Click the padlock or warning, open the certificate details and look at Subject Alternative Name (in Chrome: Connection is secure > Certificate is valid > Details).
Or use the command line
Run the command below and check that both names appear in the SAN line.
Check DNS too
Confirm both hosts resolve to your site. A name with no DNS record cannot be validated for a new certificate.
echo | openssl s_client -connect example.com:443 -servername example.com 2>/dev/null | openssl x509 -noout -ext subjectAltName
echo | openssl s_client -connect www.example.com:443 -servername www.example.com 2>/dev/null | openssl x509 -noout -ext subjectAltNameHow to fix it
Use your host's SSL tool
In your hosting panel (for example cPanel's AutoSSL or Let's Encrypt tool), make sure both the apex and www are selected, then reissue.
Check the site URL
Under Settings > General, use one preferred version. Redirect the other one to it, but only after both load without warnings.
Check both domains are connected
In Settings > Domains, make sure both example.com and www.example.com are listed and connected. Shopify issues the certificate for connected domains.
Fix DNS and wait
If a domain shows an SSL pending status, correct its DNS records as shown there and allow time for the certificate to be issued.
Add both domains
In Site settings > Publishing, add the apex and www and set one as default. Use the DNS records Webflow shows.
Enable SSL
Turn on SSL hosting for the site and republish so the certificate covers both.
Check connected domains
In Domains, confirm both versions point to Wix. Wix provides the certificate for connected domains, so fix any pointing issue and wait for it to apply.
Check DNS settings
In Settings > Domains > DNS settings, make sure the apex and www records point to Squarespace. SSL is issued for connected hosts, so correct any record that does not.
Connect each host
If you use a custom domain, add the apex and the www host as separate domain entries where your account allows, and fix their DNS records so SSL can be issued for each.
Reissue with both names
With Certbot, request both names in one certificate (command below), then reload your web server. For a paid certificate, reissue it and add the missing name as a SAN.
Update the server config
Make sure the server block for each host points to the new certificate files.
sudo certbot --nginx -d example.com -d www.example.comHow to confirm it's fixed
- https://example.com loads with no warning
- https://www.example.com loads with no warning
- The openssl command lists both names in the SAN line
- Your redirect sends one version to the other over HTTPS
- Your ad final URLs and email links load cleanly
- Test in a private window and on a phone
How to prevent it happening again
- Always request certificates for both apex and www together
- Recheck names whenever you add a domain, subdomain or CDN
- Check both hosts after any DNS or hosting change
- Keep a list of every hostname used in ads, emails and checkout
- Set a calendar reminder to review certificate names at renewal
How FunnelGuard handles this
Questions people ask
Why does my site work on www but show a security warning without it?
Your certificate most likely lists only www.example.com in its Subject Alternative Names, not example.com. Browsers check the exact name typed. Reissue the certificate with both names and the warning goes away.
What is a SAN in an SSL certificate?
SAN stands for Subject Alternative Name. It is the list of hostnames a certificate is valid for. Browsers use this list, so each host you serve, such as the apex and www, must appear in it.
Does an SSL certificate for example.com cover www.example.com?
Not automatically. A standard certificate for example.com does not cover www.example.com unless www is listed too. Most providers add both when you request them together, but you should check.
How do I check which domains my SSL certificate covers?
Click the padlock in your browser and open the certificate details to read the Subject Alternative Name field. You can also run openssl s_client with -servername and pipe it to openssl x509 -noout -ext subjectAltName.
How do I add www to my SSL certificate?
Reissue the certificate with both names. With Certbot use -d example.com -d www.example.com. On hosted platforms, connect both domains in the domain settings so the platform issues a certificate for each.
Will redirecting www to non-www fix the certificate error?
No. The browser checks the certificate before it follows any redirect. The host that redirects still needs a valid certificate that lists its name.
Can FunnelGuard detect a certificate missing the www or apex name?
Partly. It catches the problem on hosts that your monitored journeys visit. It does not scan every host on your domain, so check the other version by hand or add a journey that starts there.
Related issues
- OPS-055Certificate for wrong hostname (name mismatch)Fix guide
- OPS-053SSL certificate expiredFix guide
- OPS-054Certificate expiring within days (renewal failing)Fix guide
- OPS-064HTTP not redirected to HTTPSFix guide
- OPS-068Checkout subdomain certificate differs/expiredFix guide
- OPS-070Let's Encrypt renewal broken by redirect or firewallFix guide