> For the complete documentation index, see [llms.txt](https://docs.rooks.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rooks.ai/preview-and-publish/use-your-own-domain.md). Agents can also search and read this documentation through its [MCP server](https://docs.rooks.ai/~gitbook/mcp).

# Use your own domain

Connect a branded hostname to Rooks and choose which published form it opens.

Use the Rooks dashboard to connect a branded hostname to a published form. Continue to edit the form itself in your AI.

## Before you start

A custom domain lets people open a form from an address associated with your organization, such as `forms.example.com`. This can make the form feel more familiar and consistent with your brand.

Before beginning:

* Confirm that you or your domain administrator can update the domain’s DNS settings.
* Choose a hostname that is not already being used by another website or service.
* Use a subdomain such as `forms.example.com` or `intake.example.com`.
* Enter only the hostname—not `https://`, a path, or other URL information.

Rooks currently requires a subdomain. A root domain such as `example.com` cannot be connected directly.

## Connect your domain

{% stepper %}
{% step %}

### Connect the domain

1. To add the hostname to your workspace, open your workspace’s **Settings** → **Domains** → **Connect Domain**.
2. Enter the complete hostname, such as `forms.example.com`.
3. Select **Connect**.

A hostname can only be connected to one Rooks workspace at a time.
{% endstep %}

{% step %}

### Configure DNS

After connecting the domain, Rooks displays two DNS records:

| Record    | Purpose                                 | Name and value                                                   |
| --------- | --------------------------------------- | ---------------------------------------------------------------- |
| **TXT**   | Verifies your ownership of the hostname | Copy the verification record's **Name** and **Value** from Rooks |
| **CNAME** | Routes the hostname to Rooks            | Copy the routing record's **Name** and **Value** from Rooks      |

<details>

<summary>Example DNS records</summary>

These examples show the record format. Use the exact names and values shown in your Rooks workspace.

| Type  | Example name                                | Example value                      |
| ----- | ------------------------------------------- | ---------------------------------- |
| TXT   | `_promptintake-verify.[your-subdomain].com` | `promptintake-verify=[some-value]` |
| CNAME | `forms.stuff.com`                           | `[some-ID].cloudfront.net`         |

</details>

Sign in to your DNS provider and create both records using the **Name** and **Value** shown in Rooks. Copy the values exactly, without adding a protocol or path.

<details>

<summary>My DNS provider adds the root domain automatically</summary>

Some DNS providers automatically add your root domain to the record name. For example, they may expect `forms` instead of `forms.example.com`. Check your provider’s instructions if the complete hostname is duplicated after saving.

</details>

{% hint style="warning" icon="square-exclamation" %}
The CNAME record cannot share the same hostname with a conflicting **CNAME**, **A**, or **AAAA** record. If one already exists, confirm that it is safe to replace before removing or changing it.
{% endhint %}
{% endstep %}

{% step %}

### Verify the connection

After saving both DNS records:

1. Return to **Settings** → **Domains**.
2. Find the domain marked **DNS required**.
3. Select **Verify DNS**.

DNS changes can take up to 48 hours to propagate, but typically resolve within a few minutes.
{% endstep %}
{% endstepper %}

Once ownership is confirmed, the domain may briefly show **Provisioning** while Rooks prepares the secure connection. It will show **Verified** when it is ready to use.

Keep the CNAME record in place. Removing or changing it will interrupt traffic to the custom domain.

## Map a form

Mapping determines which form opens when someone visits the custom hostname.

To map a form:

1. Open the domain’s options menu.
2. Select **Map Form**.
3. Select the form you want the domain to open.

Each custom hostname can be mapped to one form at a time. You can return to **Map Form** later to choose a different form.

The selected form must be published before visitors can use it from the custom domain.

## Test the connection

Once the domain is **Verified** and a form is mapped, open the hostname in an incognito or private browsing window. Confirm that:

* The address uses HTTPS without a browser warning.
* The expected form opens.
* The form’s styling, questions, and conditional paths work as expected.
* A test response can be completed successfully.

## Troubleshoot

| Status or problem                       | What to do                                                                                                                                         |
| --------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |
| **DNS required**                        | Confirm that the TXT record's name and value exactly match those shown in Rooks. Allow time for DNS propagation, then select **Verify DNS** again. |
| **Provisioning**                        | Wait a few minutes and refresh the **Domains** page.                                                                                               |
| **Inactive**                            | Update the CNAME record so it points to the routing value shown in Rooks.                                                                          |
| **No form configured**                  | Open the domain's options and map a form.                                                                                                          |
| **The form is unavailable or outdated** | Ask your AI to publish the intended version of the mapped form.                                                                                    |
| **The domain is already connected**     | Confirm that it is not connected to another Rooks workspace.                                                                                       |

If the records appear correct but verification continues to fail, ask your domain administrator to confirm that the TXT and CNAME records are publicly available.
