> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.divert.ly/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.divert.ly/_mcp/server.

# Bring Your Own Domain

> Serve your Divertly links from your own domain by adding a CNAME and a TXT record. DNS stays with your current provider.

Instead of the shared `dvt.fyi` domain, you can serve your links from a domain you own. You keep your DNS where it is: you add two records and Divertly handles the rest, including SSL certificates, which are issued automatically and need no renewal.

> **Note**
>
> Using your own domain requires a paid plan: Dev includes one custom domain, Team five, and Scale ten. Free uses the shared `dvt.fyi` domain. See [Subscriptions](/docs/organization/subscriptions).

> **Note**
>
> Some domains can't be added: Divertly's own domains, and sensitive categories such as government, military, and education domains. This prevents impersonation.

> **Note**
>
> Pointing your whole domain's nameservers at Divertly isn't available yet. It's coming soon. For now, add the records below at your existing DNS provider.

We recommend a subdomain, such as `go.example.com`, so the rest of your domain stays untouched.

## 1. Add the domain

From **Domains > New Domain**, enter the fully-qualified domain name, for example `go.example.com`, with no spaces, and leave **Enabled** checked.

## 2. Point it at Divertly

At your DNS provider, add a `CNAME` record:

| Type    | Name             | Value             |
| ------- | ---------------- | ----------------- |
| `CNAME` | `go.example.com` | `proxy.divert.ly` |

## 3. Verify you own it

Verification proves the domain is yours. From the domain's page, click the verify icon. Divertly shows the record to add:

| Type  | Name        | Value                            |
| ----- | ----------- | -------------------------------- |
| `TXT` | `_divertly` | `divertly-verify=go.example.com` |

Add it at your DNS provider. DNS changes can take up to 24–48 hours to propagate, but usually finish much sooner. When the record is visible, click **Verify**. A verified domain shows a checkmark.

> **Warning**
>
> Divertly re-verifies the TXT record periodically. Leave it in place, because removing it can cause the domain and every route under it to be disabled. You'll get an email if a domain's verification status changes.

## 4. Create routes

Create routes on the new domain exactly as you would on `dvt.fyi`, with the difference that paths only need to be unique within your own domain. See [Routes](/docs/concepts/routes) and [Divertly in 10 Minutes](/docs/quick-start/divertly-in-10-minutes).

## Doing it through the API

```bash
# Add the domain
curl -X POST https://api.divert.ly/v1/domains \
  -H "Authorization: Key $CREDENTIAL" -H "Content-Type: application/json" \
  -d '{"name": "go.example.com", "description": "Marketing links"}'

# Get the DNS records to publish
curl https://api.divert.ly/v1/domains/{domain_id}/verify-info \
  -H "Authorization: Key $CREDENTIAL"

# After publishing them, check verification
curl https://api.divert.ly/v1/domains/{domain_id}/verify \
  -H "Authorization: Key $CREDENTIAL"
```

## If something goes wrong

See [Troubleshooting](/docs/help/troubleshooting#my-domain-wont-verify).