# Can I use wildcard domains without switching to Vercel Nameservers?

**Author:** Shohei Maeda

---

By default, we require wildcard domains to use Vercel nameservers to issue TLS certificates (and renew them automatically). This method allows you to delegate subdomains to Vercel and use the wildcard on that subdomain,

**Please note**: If you're trying to use the apex domain (eg \*.example.com), you should not use this method. See: [Why must we use the Domain Nameservers method for Wildcard Domains on Vercel?](https://vercel.com/guides/why-use-domain-nameservers-method-wildcard-domains) for more details.

## Workaround

### Step 1 - Enable Vercel DNS

Go to the `Domains` page and select the Apex domain. Then, click the `Enable Vercel DNS` button to activate the Vercel DNS.

### Step 2 - Create NS records

If you can't change your apex domain's nameservers (e.g., your DNS provider doesn't allow it), you can create `NS` records on `_acme-challenge` subdomain instead as a secondary option.

For example, if you add `*.acme.com` to your project domains, you can create NS records listed below:

| Record Type | Name              | Value                 |
| ----------- | ----------------- | --------------------- |
| `NS`        | `_acme-challenge` | `ns1.vercel-dns.com.` |
| `NS`        | `_acme-challenge` | `ns2.vercel-dns.com.` |

Similarly, if you add `*.foo.acme.com`, you can add `NS` records for `_acme-challenge.foo` subdomain.

This can be used to delegate the `_acme-challenge` subdomain to Vercel nameservers, and other subdomains continue to use the current DNS provider's name servers as before.

Important: Creating this this record may prevent other hosting providers from issuing certificates for their service and should only be used if you cannot change your name servers.

### Step 3 - Set the wildcard CNAME

Once the \_acme-challenge record has been delegated, you need to point the wildcard traffic to Vercel.

To do this, you need to create a CNAME record for the wildcard (eg \*.app.example.com) with the value `cname.vercel-dns-0.com`.

.

---

[View full KB sitemap](/kb/sitemap.md)
