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

# Custom domain

> Connect a domain you already own to your app.

A custom domain gives your app a professional, branded web address that's easy to share and remember. Connect a domain you already own from any provider.

> [!NOTE]
>
> Custom domains are available on **Moon** plans and above.

## Connect a domain you already own

**1. Open the publish options**

Open your app and click **Publish**. In the **Publish Your App** popup, you'll see your default app URL (for example, `video-generator.buildaispace.app`).

![Publish Your App popup showing the option to add a custom domain](https://firebasestorage.googleapis.com/v0/b/buildai-4bad5.appspot.com/o/apps%2FMawKjabo6bFib5kF3Aac%2Fusers%2FT7bmOuNUliXu3aCLQl0sE0aRWZo2%2F3322bb12-1797-4a4b-9d22-8e9ffce52367.jpg?alt=media\&token=7ec53884-eb6f-470c-8f35-457963bb500f)

**2. Add your domain**

Click **+ Custom domain** below the default URL and enter your domain:

* **A subdomain on `buildai.space`**: enter just the prefix (for example, `yourapp`) and BuildAI adds `.buildai.space`. No DNS setup is needed.
* **Your own domain or subdomain** (for example, `yourdomain.com` or `app.yourdomain.com`): add a DNS record at your domain provider, as in the next step.

**3. Add the DNS record at your provider**

Sign in to your domain provider and add the record for your domain type:

| Domain type | Record type | Name | Value |
| - | - | - | - |
| Subdomain on `buildai.space` | None | your prefix | Managed by BuildAI |
| Subdomain on your domain | CNAME | `app` (your subdomain prefix) | `cname.vercel.pub` |
| Root domain | A | `@` | `76.76.21.21` |

The `@` symbol stands for your root domain. Each domain type is explained below, followed by step-by-step instructions for popular providers.

**4. Verify**

DNS changes usually take **5–15 minutes**, but can take up to 48 hours. Return to the publish options and click **Refresh** next to your domain. When you see **"Valid Configuration"**, your domain is live.

### Which DNS record do you need?

**A subdomain on `buildai.space`** (for example, `yourapp.buildai.space`)

Enter just the subdomain prefix (for example, `yourapp`). BuildAI automatically appends `.buildai.space` and manages everything for you. No DNS configuration is needed.

**A subdomain on your own domain** (for example, `app.yourdomain.com`)

Add a **CNAME** record:

| Record type | Name | Value |
| - | - | - |
| CNAME | `app` | `cname.vercel.pub` |

Replace `app` with your chosen subdomain prefix if it's different (for example, `www` or `tools`).

**A full (root) domain** (for example, `yourdomain.com`)

Add an **A** record:

| Record type | Name | Value |
| - | - | - |
| A | `@` | `76.76.21.21` |

The `@` symbol represents the root domain itself.

### Add the record at popular providers

> [accordion] GoDaddy
>
> 1. Log into your GoDaddy account.
> 2. Navigate to **My Products** → **Domains**, choose your domain, and click **DNS**.
> 3. Click **Add** to create a new DNS record.
> 4. Select the appropriate **Record Type** (CNAME or A).
> 5. Enter the **Name** and **Value** as shown in the tables above.
> 6. Set **TTL** to 1 hour.
> 7. Save your changes.

> [accordion] Cloudflare
>
> 1. Log into Cloudflare and select your domain.
> 2. Go to the **DNS** tab.
> 3. Click **Add record**.
> 4. Choose the correct **Record Type** (CNAME or A).
> 5. Enter the **Name** and **Value** as shown in the tables above.
> 6. Set **Proxy status** to **DNS only** (gray cloud icon).
> 7. Save the record.

> [accordion] Namecheap
>
> 1. Log into your Namecheap account.
> 2. Go to **Domain List**, find your domain, and click **Manage**.
> 3. Navigate to the **Advanced DNS** tab.
> 4. Click **Add New Record**.
> 5. Select the correct **Record Type**.
> 6. Fill in the **Host** (Name) and **Value** fields as shown in the tables above.
> 7. Set **TTL** to Automatic.
> 8. Save your changes.

> [accordion] Other providers
>
> 1. Log into your domain registrar or DNS provider dashboard.
> 2. Locate the DNS management or domain settings section.
> 3. Add the DNS record exactly as shown in the tables above.
> 4. Save your changes.

### Quick DNS reference

| Domain type | DNS record | Name | Value | Notes |
| - | - | - | - | - |
| Subdomain on `buildai.space` | None | your prefix | Managed by BuildAI | No DNS changes needed |
| Subdomain on your domain | CNAME | `app` (your subdomain prefix) | `cname.vercel.pub` | Points the subdomain to BuildAI |
| Root domain | A | `@` | `76.76.21.21` | Points the root domain to BuildAI |

### Troubleshooting and tips

* **Subdomains on `buildai.space` need no DNS setup.** Just enter the prefix and BuildAI handles everything.
* **Subdomains on your own domain** (for example, `app.yourdomain.com`) need a CNAME record pointing to `cname.vercel.pub`.
* **Root domains** need an A record pointing to `76.76.21.21`.
* **DNS settings missing or unclear?** Contact your domain provider's support for help.
* **"Invalid Configuration" shows up?** Wait a bit longer for DNS to propagate and click **Refresh** again.
* **New to custom domains?** A subdomain on `buildai.space` is the quickest way to get a branded URL live without managing DNS.

***

## Manage domains bought through BuildAI

If you bought or claimed a domain through BuildAI, go to **Settings → Domains** to see it:

* **Renewal status**: when it renews and for how much, or how long it stays active after a cancelled renewal.
* **Manage renewal**: opens the billing portal to update your card or cancel the renewal.
* **DNS records**: view and edit the domain's DNS. Records BuildAI created for your app and email are flagged, so you don't take your app offline by accident.

If a renewal payment fails, we'll email you before the domain stops working. Update your card from **Manage renewal** to keep it live.

***

## FAQ

**Do I get SSL (HTTPS)?**
Yes. Every custom domain gets a free SSL certificate automatically once it points at your app.

**My domain still shows my old site, or "Invalid Configuration" won't go away.**
Remove any other A or CNAME records for the same name at your provider. A leftover record from a previous host can override the new one. Then wait a few minutes and click **Refresh** again.

**I use Cloudflare and the domain won't verify.**
Set the record's proxy status to **DNS only** (gray cloud). The orange-cloud proxy hides the record BuildAI needs to see.

**Can I connect a subdomain instead of my root domain?**
Yes. Add a CNAME record for the subdomain (for example, `app` for `app.yourdomain.com`) pointing to `cname.vercel.pub`.

**Can I use the domain for email too?**
Yes. Once your domain connects, the [custom email sender](https://docs.buildai.space/launch/custom-email-sender.md) can send from it. For domains bought through BuildAI, the required DNS records are added for you.

**What happens if I stop paying for a bought domain?**
Your domain stays active until the end of the period you've paid for. Then it expires and eventually returns to the open market. We email you before that happens.

**What if the name can't be registered after I pay?**
It's rare. A name can be taken in the moment between your checkout and the registration. You'll see a message saying we couldn't register it, our team is alerted automatically, and we sort out your payment. Contact support if you'd like an update or want to pick a different name straight away.

**How many domains can one account have?**
Ten on **Moon**, twenty on **Spaceship**, and forty on **Galaxy**. Bought and connected domains count together.

**Can I move a domain to another app?**
Each domain connects to one app. Contact support if you need to move it.


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