- Documentation
- Domains & Networking
- Wildcard Domains
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
-
Open the service’s Domains tab
On the service page in the dashboard, click the Domains tab, then Add Domain.
-
Enter the wildcard
Type
*.example.com, or*.app.example.comto cover the subdomains ofapp.example.com. -
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.comcoversshop.example.com, notapi.shop.example.comand notexample.comitself. Addexample.comas 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
wwwwith a CNAME ormailwith 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 tohttps://. - 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-challengeis reserved. Guara points_acme-challenge.example.comat 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
| Resource | Starter | Pro | Max | Business | Enterprise |
|---|---|---|---|---|---|
| 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.