# Custom domains

> Serve the console and the website chat from your own addresses, with the two DNS records to create, automatic HTTPS and the health checks that keep them working.

With your own domain, your clients sign in at an address like `app.youragency.com`, and their websites load the chat from yours. They never see ours. Domains are managed under **Agency** → **Your domain** by the agency's owners and admins.



## Choose an address

Use a **subdomain** you own, such as `app.youragency.com` for the console and `chat.youragency.com` for the chat. A root domain (`youragency.com`) also works, but most DNS providers can't point it the way we need (see below).

Each domain has one purpose:

| Purpose | What it serves |
| --- | --- |
| Console | Clients sign in and work here: their agents, inbox and flows. These docs live there too, under `/www/nomongeta/<language>/docs`. |
| Chat widget | Your clients' websites load the chat from here. Nothing else: it can't be used to sign in. |

You can add up to 5 domains for each purpose.

## Connect it

1. Press **Add domain**, type the address and choose what it's for.
2. At your DNS provider, create the two records the page shows:
   - **TXT**, to prove the domain is yours. Keep it: we check it again every day.
   - **CNAME**, pointing the address at us so visitors reach it.
3. Press **Check now**.

DNS changes usually show up within minutes, but can take up to an hour. We check again every hour and verify it on our own. Once the TXT record is found, the domain shows **Verified**; once the CNAME points at us, HTTPS is set up for it on its own, usually within minutes.

> [!IMPORTANT]
> If your DNS goes through a proxy or CDN (Cloudflare's orange cloud, for example), switch it to **DNS only** for this record. Otherwise we can't issue the certificate.

### A root domain

Most DNS providers can't add a CNAME record on a root domain (`youragency.com`). Use an ALIAS or ANAME record (or "CNAME flattening") pointing at the same target, or use a subdomain such as `app.youragency.com` instead.

## After it's verified

- **Console domain**: your clients sign in at it. Each address keeps its own sign-in, so someone signed in on ours isn't signed in on yours. Links in e-mails to your clients (invitations, alerts) use your domain.
- **Chat domain**: the page shows the code to paste on your clients' websites, with their agent's id. The chat then loads from your address.

## Keeping it healthy

We check every domain regularly, and e-mail your owners and admins when something needs fixing:

| On the domain | What happened | What to do |
| --- | --- | --- |
| Needs attention | It no longer points at us, or its HTTPS certificate couldn't be issued or renewed. | Put the CNAME record back as shown. |
| A note about the TXT record | The TXT record is gone. The domain keeps working, but add it back so we can keep confirming it's yours. | Add the TXT record back. |
| A disconnection date | No TXT record and not pointing at us. | Fix the records before that date. After two weeks like this, the domain is disconnected and anyone can connect it. |

Certificates renew on their own while the domain points at us.

## Your address on us

When it's available, your agency also gets an address on our domain that works right away, with no DNS: it's the **Your address on us** card at the top of the Domains page. Use it while your own domain is being set up.

## Remove a domain

**Remove**: It stops working right away. Anyone signed in there is signed out, and links to it break.
