# Custom domains

> Serve your blog from your own domain, like blog.yourcompany.com.

Every site gets a free address when you create it. Connect your own domain to serve the blog from it instead. Only admins can manage domains.

## Connect a domain

1. Open **Settings → Developer → Domains** and choose to add a domain.
2. Enter the domain, for example `blog.example.com`.
3. Pick how SSL is handled:
   - **Free, bring your own SSL**: you add a CNAME and a TXT record, and handle TLS yourself (for example with Cloudflare's proxy).
   - **Managed SSL**: Quillhive issues and renews the certificate for you. Works with any DNS provider.
4. Add the DNS records Quillhive shows at your DNS provider.
5. Back in the dashboard, choose **Verify**. The domain turns verified once the records are found.

## DNS records

For the free option you add two records. The dashboard shows the exact name and value for each:

| Type    | Name                                 | Value                                 | Purpose                    |
| ------- | ------------------------------------ | ------------------------------------- | -------------------------- |
| `CNAME` | Your domain, e.g. `blog.example.com` | The target shown in the dashboard     | Sends traffic to Quillhive |
| `TXT`   | The name shown in the dashboard      | The token shown in the dashboard      | Proves you own the domain  |

A proxied CNAME (Cloudflare's orange cloud) is fine. DNS changes can take a few minutes to an hour to show up.

> [!TIP]
> Use a subdomain such as `blog.` or `news.`. Many DNS providers don't allow a CNAME on the root of a domain.

## Primary domain

With more than one domain connected, pick the **primary** one. Links, the sitemap and canonical URLs use it, and the dashboard's **View site** opens it.

## Headless sites

If your own frontend renders the site, you don't connect domains here. Set the frontend URL instead. See [Headless sites](/docs/headless).
