> ## Documentation Index
> Fetch the complete documentation index at: https://fabricate.build/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Custom Domains

> Connect your own domain to a published Fabricate app — add the domain, set DNS records, and get automatic SSL.

Every published app gets an address on `fabricate.chat`, but you can also connect a domain you own — like `yourcompany.com` — so your app lives at your own address. Fabricate handles custom domains through Cloudflare-for-SaaS custom hostnames, including SSL certificates.

> [!NOTE]
>
> Custom domains are available on paid plans (see [pricing](https://fabricate.build/pricing)), and you need to publish your app before connecting one. See [Deploying Your App](https://fabricate.build/docs/deploy/overview.md).

## Connecting a Domain

**1. Open your app's domain settings**

In your project's settings, open **Domains** and choose to add a domain.

**2. Enter your domain**

Type the domain you want to use. When you add the apex domain (`yourcompany.com`) or its `www` subdomain (`www.yourcompany.com`), Fabricate sets up both.

**3. Add the DNS records**

Fabricate shows you the exact DNS records to create. Add them at your domain registrar or wherever you manage DNS:

* A `CNAME` record that points your domain at Fabricate.
* `TXT` records that verify you own the domain and let Cloudflare issue its SSL certificate.

An apex domain only verifies when its DNS is hosted on Cloudflare. If you manage DNS elsewhere, connect `www` instead and set up a redirect from the apex domain to `www` at your DNS provider.

**4. Wait for verification**

Once your DNS records are live, Fabricate verifies the domain. DNS changes can take up to 24–48 hours to propagate.

**5. You're live**

After verification, your app is reachable at your custom domain over HTTPS. Cloudflare issues the SSL certificate, so there's no certificate to upload.

## Apex vs www

You can serve your app from either the apex domain, the `www` subdomain, or both:

* **Apex domain** — `yourcompany.com`, the bare root of your domain.
* **www subdomain** — `www.yourcompany.com`.

When you add one, Fabricate adds the other too, so visitors reach your app no matter which address they type. Both addresses serve your app; Fabricate doesn't redirect one to the other. If you want a redirect, set it up at your DNS provider.

## Automatic SSL

Cloudflare issues the SSL certificate for your custom domain once your DNS records are verified. Your app is served over HTTPS from then on — there's no certificate to upload.

> [!TIP]
>
> If your domain's DNS is managed at Cloudflare, you can connect the apex domain directly. If it's managed elsewhere, connect `www`.

## Frequently Asked Questions

> [accordion] Do I need to buy a domain through Fabricate?
>
> No. Use any domain you already own. You add DNS records at your existing registrar — Fabricate doesn't sell domains.

> [accordion] My domain isn't verifying — what should I check?
>
> Confirm the DNS records exactly match what Fabricate shows, with no extra characters. If you're connecting an apex domain, check that its DNS is hosted on Cloudflare — otherwise connect `www` instead. DNS changes also take time to propagate, up to 24–48 hours.

> [accordion] Can I connect more than one domain to an app?
>
> When you add an apex domain or its `www` subdomain, Fabricate connects both to the same app. Both serve your app; to send visitors from one to the other, set up a redirect at your DNS provider.

> [accordion] Does my Fabricate address still work?
>
> Yes. Your app's `fabricate.chat` address keeps working alongside your custom domain.

> [accordion] What happens to my domain when I redeploy?
>
> Nothing — your custom domain stays connected across redeploys. Only your app's code is updated when you publish again.

## Next Steps

> [card] [Deploying Your App](https://fabricate.build/docs/deploy/overview.md)
>
> Publish your app and pick a subdomain.

> [card] [App Visibility](https://fabricate.build/docs/deploy/visibility.md)
>
> Control who can access your published app.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.