On this page

Last updated: November 24, 2026

Wildcard Domains

A wildcard domain such as *.example.com sends every subdomain of example.com to one service: customer-a.example.com, customer-b.example.com and any name you haven’t created yet. It suits apps that give each customer or tenant their own subdomain.

Requirements

  • The domain must be hosted on Guara DNS, in a project of the same account. Guara writes the records and validates the certificate itself, so there is nothing to configure at another DNS provider.
  • One wildcard domain per Guara DNS domain on every plan (see Limits).

Adding a wildcard domain

  1. Open the service’s Domains tab

    On the service page in the dashboard, click the Domains tab, then Add Domain.

  2. Enter the wildcard

    Type *.example.com, or *.app.example.com to cover the subdomains of app.example.com.

  3. Wait for the certificate

    Guara issues a Let’s Encrypt certificate for the wildcard. This usually takes a few minutes, and the Domains tab updates on its own. The subdomains start answering once the domain is Active.

From the CLI:

guara domains add --domain "*.example.com" --project my-project --service my-api

Quote the domain so your shell doesn’t expand the *.

What the wildcard covers

  • One level of subdomains. *.example.com covers shop.example.com, not api.shop.example.com and not example.com itself. Add example.com as its own custom domain if you need it.
  • Only names without records of their own. A subdomain that has any record in the zone, such as www with a CNAME or mail with an MX, keeps answering with its records, and so do the other custom domains of your services. Use this to send a few subdomains elsewhere.

How it works

  • HTTPS everywhere. The certificate covers every subdomain and renews automatically. Requests over http:// are redirected to https://.
  • Served by Guara’s edge. Wildcard domains reach your service through Guara’s own ingress in São Paulo instead of Cloudflare, so Cloudflare settings and caching don’t apply to them.
  • _acme-challenge is reserved. Guara points _acme-challenge.example.com at its certificate validation, and the DNS editor won’t let you create records at that name while the wildcard exists. A root domain served by the same Guara DNS domain keeps working: Guara publishes its validation where that name points.

If the certificate isn’t issued

If the certificate isn’t ready within an hour, the domain shows Failed. Remove the domain and add it again. If it fails again, contact support.

Limits

ResourceStarterProMaxBusinessEnterprise
Wildcard domains per Guara DNS domain 1 1 1 1 1
Custom domains per service 10 10 10 10 10

A wildcard domain counts toward the custom domains of its service.

Removing a wildcard domain

Remove it from the service’s Domains tab. Guara deletes its records and its certificate, and its subdomains stop answering.