# Put your site on your own domain

On Starter, Pro and Business you can serve a site from your own domain with free, automatic SSL. It takes two DNS records and usually a few minutes.

HTML version: https://fylo.host/docs/domains · All docs: https://fylo.host/docs/

## Connect a domain

1. Open **Domains** in the [dashboard](https://fylo.host/dashboard), choose the site, type the domain (`example.com`) and click **Add**. Fylo registers both `example.com` and `www.example.com`.
2. At your DNS provider (where you bought the domain, or Cloudflare if you moved DNS there) add these two records:

| Type | Name | Value |
|---|---|---|
| CNAME | `@` | `fylo.host` |
| CNAME | `www` | `fylo.host` |

3. Back in **Domains**, click **Verify**. When DNS has updated, the domain turns active and an SSL certificate is issued automatically. This usually takes a few minutes and can take up to a few hours with slow DNS providers.

Remove any old `A`, `AAAA` or `CNAME` records for `@` and `www` first — two answers for the same name is the most common reason verification fails.

### If your provider won't accept a CNAME on the root

Some DNS providers refuse a CNAME for `@`. Use their **ALIAS**, **ANAME** or **CNAME flattening** record type pointing at `fylo.host` instead — it does the same job. If they offer none of these, move the domain's DNS to Cloudflare (free), which flattens root CNAMEs automatically, and add the two records there. Your domain registration stays where it is.

If you use Cloudflare DNS, set both records to **DNS only** (grey cloud).

## www or non-www

Choose the address you prefer in **Domains**. The other form redirects to it, and the preferred one is used as the canonical URL, in QR codes and in share links.

## Limits

| Plan | Custom domains |
|---|---|
| Free | — |
| Starter | 1 |
| Pro | 4 |
| Business | 10 |

A domain with its `www` form counts as one. Each domain points to one site.

## Removing a domain, and what happens if a plan ends

**Remove** detaches the domain immediately; the site stays online at its Fylo subdomain. When a paid plan ends, custom domains are detached automatically after a 7-day grace period. Re-adding a domain later uses the same two DNS records.

## Troubleshooting

- **"Domain already in use"** — it is attached to another Fylo site or account. Remove it there first.
- **Stuck on pending** — check the records with `dig example.com CNAME` or an online DNS checker; they must point to `fylo.host` and nothing else.
- **Certificate warning right after verifying** — the certificate is still being issued; give it a few minutes.
- **Email stops working** — it shouldn't: these records don't touch `MX`. If your provider's root ALIAS replaces other root records, keep your `MX` and `TXT` records as they were.

## From an AI app

With the [MCP server](https://fylo.host/docs/api#mcp-domains) connected, "connect example.com to my portfolio site" registers the domain and gives you the records; you still add them at your DNS provider yourself.
