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

# Custom domains

> Connect your own domain to a deployed Aurora project

Every deployed project gets a free address on `aurora.build`. You can also connect your own domain, for example `yourdomain.com`, to a deployed project.

## Before you start

* You need a paid plan. A custom domain uses one domain slot. A slot that your plan does not include costs \$5 per month. See [Pricing](#pricing).
* The project must have a live production deploy. To deploy, open **Settings > Domain** and click **Deploy to production**.
* You need access to your domain's DNS settings at your DNS provider.

## Pricing

A custom domain uses one domain slot. A slot that your plan does not include costs \$5 per month. The charge goes on your plan's subscription. Before you pay, Aurora shows the exact amount for the rest of the current billing period.

Each project with a custom domain uses one domain slot. A project can have one custom domain. Higher Pro tiers include domain slots at no extra charge:

| Plan | Included domain slots |
| - | - |
| Pro 1 | 0 |
| Pro 2 | 1 |
| Each higher Pro tier | 1 more |

Each slot beyond the slots your plan includes costs \$5 per month.

## Connect a domain

1. Open the project, then open **Settings > Domain**.
2. In the **Custom domain** card, type your domain, then click **Add**.
3. Click **Activate**. Review the charge, then confirm it. If your plan already covers the slot, nothing is charged.
4. Add the DNS records that the card shows at your DNS provider.
5. Click **Verify**.
6. Wait while Cloudflare issues the SSL certificate. This usually takes 1 to 5 minutes. The card updates by itself.

The card shows five steps: **Added**, **Activated**, **DNS**, **SSL**, and **Live**. When all five steps are done, your domain serves your project.

## DNS records

The card shows the exact records for your domain. Copy them from the card.

* **A subdomain**, for example `app.yourdomain.com` or `www.yourdomain.com`: add a CNAME record that points to your project's `aurora.build` address.
* **A root domain**, for example `yourdomain.com`: a root domain cannot hold a normal CNAME record.
  * If your DNS provider flattens a CNAME on `@`, for example Cloudflare, use the **CNAME** option.
  * If it does not, use the **ALIAS / ANAME** option.
* **A TXT record**: some domains also need a TXT record named `_aurora`. This record proves that you own the domain. The card shows it only when your domain needs it. Keep it in place.

> [!WARNING]
>
> If you use Cloudflare DNS, set the record's proxy status to **DNS only** (grey cloud). A proxied record (orange cloud) hides where it points, and verification fails.

Your email (MX) records are not affected. DNS changes can take a few minutes to reach Aurora. If **Verify** does not find your record, wait a few minutes, then click **Verify** again.

Set up `www` yourself. For example, add a redirect from `www.yourdomain.com` to `yourdomain.com` at your DNS provider.

## Change or remove a domain

* **Change domain**: click the pencil icon on the card, then enter the new domain. The project keeps its slot, and your bill does not change. Add the DNS records for the new domain, then click **Verify**.
* **Remove domain**: click the trash icon on the card. The slot stays paid until you release it, so you can add another domain at no extra charge.
* **Release a slot**: to stop paying for a slot that no project uses, open **Settings > Plans & Billing**, then click **Release unused slots**. The unused days of the current billing period come back as account credit.

A domain shows only on the project that it belongs to. To use a domain on a different project, remove it from its current project first.

## Troubleshooting

| Status | What to do |
| - | - |
| **Pending DNS** | Add the DNS records from the card, then click **Verify**. |
| **Issuing SSL** | Wait. The card updates by itself. To check now, click **Check status**. |
| **SSL failed** | Make sure that your DNS record still points to the value on the card, then click **Check status**. |
| **DNS record needs updating** | Your production subdomain changed. Update the record at your DNS provider to the new value on the card, then verify again. |


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