Skip to content

How to Choose SSL for a Website With Multiple Domains

Several domains and subdomains can share one certificate or use many. Learn how to compare wildcard, SAN and separate certificates and pick a setup you can maintain.

10 min readUpdated Nov 20, 2026By XPASS Editorial Team

How to Choose SSL for a Website With Multiple Domains

A single website with one address is easy to secure: one name, one certificate, one renewal date. Real projects rarely stay that simple. A business may own a main domain, a shop on a subdomain, a client portal, a regional domain for another country and a few defensive domains that redirect to the main site. Each of these names needs HTTPS, and each one can quietly break the whole experience if its certificate is missing or expired.

This guide shows how to choose a certificate setup when you manage more than one name. We start from a list of what needs protecting, compare the practical options, and finish with a method for deciding between one shared certificate and several separate ones. If the vocabulary is unfamiliar, the overview of SSL certificate types explains the terms we use here.

Start with an inventory, not a product

The most common mistake is to pick a certificate type first and discover afterwards that it does not match your names. Begin with a table of every hostname that visitors, crawlers or other systems will reach over HTTPS.

Include these categories:

  • Primary domains and their www versions. Count both the bare and the www name, since they are different hostnames.
  • Subdomains in active use. Shop, blog, app, api, portal, status and similar names.
  • Additional domains. Other brands, country domains, older domains that still redirect.
  • Internal or temporary names. Staging, test and preview sites, if they are reachable from the public internet and need valid certificates.
  • Names used by third-party services. A support desk, an email marketing tool or a CDN might present your domain on its own servers, which can affect which certificate they need.

For each name, record who controls its DNS, which server answers for it, and who is responsible for renewal. This small inventory answers most selection questions before you even look at products.

The four building blocks

Every multi-name setup is built from four building blocks, alone or combined.

Option What it covers Good when Watch out for
Single-name certificates, one per hostname Exactly one name each Few names, different servers, different owners Many renewals to track
Wildcard certificate Every one-level subdomain of one domain Many subdomains under one domain Does not span different domains; shared private key
SAN (multi-domain) certificate A fixed list of names, across domains A handful of related domains Reissue to change the list; names are visible
Wildcard plus SAN Wildcards and extra names together Larger estates with a few domains and many subdomains Concentrated key risk; more complex ordering

Wildcard certificates in more detail

A wildcard such as *.example.com matches shop.example.com, blog.example.com and any other single label in that position. It does not match two levels, so a.shop.example.com needs its own entry, such as *.shop.example.com. The bare domain example.com is generally added as a second name in the same certificate. Wildcards are very convenient when subdomains are created often, such as one per customer or per project, because new names work immediately once the certificate is installed.

Because the private key typically has to be present on every server that uses the certificate, a compromise of any of those servers exposes the key for all of them. Public CAs also commonly require validation through a DNS record for wildcard names, so you need control over the DNS zone.

SAN certificates in more detail

A SAN certificate lists specific names, for example example.com, www.example.com, example.net and www.example.net. The names can span unrelated domains, which makes this the usual answer for a business with several brands. Each name has to be validated, so you need to prove control of every domain listed. The list is part of the certificate, which means it is readable by anyone who looks at it. Do not mix names you would not want published together.

Adding a name later requires issuing a new certificate with the updated list and installing it on every server that uses it. That is a small task if you plan for it and a source of surprise outages if you forget which servers carry the old copy.

Separate certificates

Using a separate certificate per site is the old-fashioned and still entirely valid approach. The cost is administrative: more expiry dates and more installs. The benefit is isolation. A problem with one certificate or one server does not touch the others, and each can have the validation level that matches its purpose. Automation reduces the administrative cost a lot. Protocols such as ACME, defined in RFC 8555, let a server request and renew certificates automatically, so many setups with dozens of separate certificates run with no manual work at all.

A decision method you can follow

Use these steps in order and stop as soon as one gives a clear answer.

  1. Same domain, many subdomains that change often? Choose a wildcard for that domain, plus the bare domain.
  2. A few unrelated domains managed by the same team on the same servers? Choose a SAN certificate listing those names.
  3. Different teams, different hosting providers or different risk levels? Choose separate certificates, so that no private key is shared across boundaries.
  4. Different identity needs? Keep a public brand site on DV and put a client portal that handles sensitive data on a certificate with a verified organisation name, as described in SSL for company sites versus personal sites.
  5. Large estate with a mix? Combine them. For example, one wildcard per major domain plus a SAN certificate for the small defensive domains, with automation handling renewals.

A plain example

A travel company owns triptale.example for its main brand, with www, a booking subdomain and an api subdomain. It also owns triptale-hotels.example for a partner product, and triptale.example.org as an older address that redirects to the main site. A sensible setup could be a wildcard for *.triptale.example with the bare domain, a separate certificate for the partner product because a different vendor hosts it, and a small SAN certificate for the older redirect domains. The booking system, which handles customer details, could use an organisation-validated certificate while the rest use domain-validated ones. Renewals are automated where the hosting allows, and the inventory table records who owns each expiry date.

Where multi-domain setups fail

Understanding the usual failure patterns helps you design around them.

  • A missing name. A new subdomain goes live, but the certificate was issued before it existed. Visitors see a name mismatch warning. Keep the inventory updated and review it whenever a new service is added.
  • Different expiry dates. Three certificates bought at different times expire at different times. Align them where you can, or rely on automation.
  • A forgotten server. The certificate is renewed on the main server, but an old copy runs on a secondary server or load balancer and expires. Track every place a certificate is installed.
  • A shared key in too many places. A wildcard installed on a developer laptop, a shared host and a vendor's server gives many people access to one key. Limit copies of the private key and rotate it if someone with access leaves.
  • A redirect domain with no certificate. A visitor who types an old domain over HTTPS sees a warning before any redirect can happen, because the certificate check comes first. Redirect domains need valid certificates too.
  • Search impact. Certificate errors on any address that search engines crawl can cause crawl problems; see how SSL affects SEO for how to avoid them.

Practical steps for ordering and installing

  1. Confirm the final list of names and spell-check it. A typo in a SAN entry means reissuing.
  2. Decide the validation method for each name. File-based validation needs web server control, while DNS-based validation needs access to the DNS provider. Wildcards typically use DNS.
  3. Generate the key and certificate request on a secure machine. Store the private key with strict access controls.
  4. Complete validation for every name and wait for issuance. For domain validation this can take minutes; for organisation validation, longer.
  5. Install the certificate and the intermediate chain on every server and service that needs it. A missing intermediate certificate causes errors on some devices even though it appears to work on others.
  6. Test each hostname from outside your network, using a browser and an online TLS checking tool. Look at name coverage, expiry date and chain.
  7. Set reminders and automate renewal where possible. Record who is notified and how renewal is verified.
  8. Document the setup. One page that lists names, certificate types, install locations, validation method and renewal owner prevents most future surprises.

Reviewing your setup every quarter

A multi-domain estate changes over time, so treat the certificate plan as a living document rather than a one-off purchase. Once a quarter, open the inventory table and compare it with reality. List the hostnames that are actually live, using your DNS records and your hosting dashboards, and check that each one appears in a certificate that is still valid. Note any name that has been retired but still appears in a certificate, as well as any new name that has no coverage yet.

Then look at expiry dates. If three certificates expire within a few weeks of each other, consider whether you can consolidate them or move them to automated renewal, so that one busy week does not turn into a missed deadline. Finally, ask who has copies of each private key. People change roles, agencies change, and old servers are sometimes forgotten. If a key is stored in more places than the inventory says, replace the certificate with a new key and install it only where it is needed. This simple routine takes less than an hour for a small estate and prevents the kind of outage that is hard to explain to customers.

Limits and what to watch for

  • A certificate protects the connection, not the application. A valid certificate on every domain does not prevent weak passwords, outdated software or injected code. The article on why HTTPS sites can still be attacked covers this gap.
  • Public names are public. Certificates issued by public authorities are generally recorded in public logs, so a hostname listed in a certificate can become discoverable. Avoid putting secret project names in public certificates.
  • Count your validation effort. Each domain in a SAN certificate needs separate proof of control, and DNS access may belong to different people.
  • Check your hosting and email. Some services let you upload your own certificate, while others only support their own. Confirm what each service supports before you design around one certificate.
  • Plan for change. If you expect to add domains often, choose a model that lets you add them without reissuing everything, such as separate certificates with automation.

Summary

Choosing SSL for several names starts with an inventory, not a product. Wildcard certificates suit many subdomains of one domain, SAN certificates suit a fixed set of related names across domains, and separate certificates suit different teams, hosts or risk levels. Combine them when your estate is mixed, automate renewal where you can, and record who owns each expiry date. Remember that a certificate secures the connection and not the application behind it, so keep your software and access controls current.

When you are ready to compare certificates for your own set of names, the SSL page lists the current options and what each one covers.

Frequently asked questions

Can one certificate cover different domains?

Yes. A multi-domain certificate, also called a SAN certificate, lists several names in the Subject Alternative Name field, and those names can belong to completely different domains. Every listed name must be validated before the certificate is issued.

Does a wildcard certificate cover every subdomain?

It covers subdomains at exactly one level below the domain, such as shop.example.com. It does not cover deeper names such as a.shop.example.com, and the bare domain is normally listed as a separate name.

Is it better to use one certificate or many?

It depends on who manages the servers and how often names change. One certificate means fewer renewals but shares risk and a private key. Separate certificates take more management but limit the effect of a problem to one site.

What happens if I add a new domain later?

With a SAN certificate you normally need to reissue the certificate with the extra name. With a wildcard, a new subdomain of the covered domain works immediately, as long as the certificate is installed on the server that serves it.

Do all my domains need the same validation level?

No. You can mix levels across certificates. A certificate that lists several names generally has one validation level, so group names with similar identity needs together.

About the author

Bob Kanokphon Thongdee, founder of XPASS VPN

Bob Kanokphon Thongdee

  • Founder of XPASS VPN
  • Co-founder of eSIMonline.asia
  • More than 7 years in online marketing
  • Founder of Cojourney Visa and Cojourney Travel

Need an SSL certificate?

Pick the certificate type that fits your site and see the price before you check out.

SSL from $14.99

See SSL certificates

Keep reading

SSL Guides

How Much Does SSL Really Affect SEO?

HTTPS is a light ranking signal and a strong trust and usability factor. Learn what SSL changes for search, what it does not, and how to migrate safely.

9 min read

SSL Guides

Why a Website With HTTPS Can Still Be Attacked

HTTPS encrypts traffic between a visitor and a server, but attackers have many other routes. Learn what the padlock covers, what it misses and how to close the gaps.

10 min read

SSL Guides

SSL Certificate Types: DV, OV, EV, Wildcard and SAN Explained

SSL certificates differ on two separate axes: how much the issuer checks about you, and how many names the certificate covers. Here is how to choose on both.

10 min read