> For the complete documentation index, see [llms.txt](https://docs.didomi.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.didomi.io/organization-and-account-settings/domains/create-custom-domain.md).

# Create custom domain

{% hint style="success" %}
**Access Type:** Domains - Editor
{% endhint %}

Configuring a custom domain allows your organization to load the Didomi SDK and its assets from that domain or host a webpage (e.g. preference center) from that domain. In this article, we will cover how to create a custom domain using the [domain delegation method](https://docs.didomi.io/organization-and-account-settings/domains.md#custom-domain-configurations) from the Didomi console.&#x20;

Click **My organization** in the header and select **Organization settings** from the drop-down menu.

<figure><img src="https://1825037175-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNDxbAdc00ce6bH5u1urh%2Fuploads%2FMF7Xh1f8xWiVJqpYx0fH%2FScreenshot%202026-02-12%20at%203.07.04%E2%80%AFPM.png?alt=media&amp;token=38d0ab2d-d735-44f1-87c7-066ed3acc3b6" alt="" width="563"><figcaption></figcaption></figure>

Ensure the **Domains** tab is selected and click **Add a domain +**.

<figure><img src="https://1825037175-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNDxbAdc00ce6bH5u1urh%2Fuploads%2F6208QQe8po45ajfaJa71%2FScreenshot%202025-10-07%20at%2010.58.10%E2%80%AFAM.png?alt=media&amp;token=e3f67db8-7ce2-4893-ab13-0b0cf06326bd" alt="" width="563"><figcaption></figcaption></figure>

Follow the steps on the subsequent page to perform the following

<table><thead><tr><th width="40" data-type="number"></th><th width="171">Step</th><th>Description</th></tr></thead><tbody><tr><td>1</td><td>Register a domain name</td><td>Use the provided field to enter the name of the custom domain being added. </td></tr><tr><td>2</td><td>Specify how the domain will be used</td><td><p>Choose whether the custom domain will be used to serve the Didomi SDK or a hosted webpage (e.g. preference center) from the drop-down menu. <a href="https://docs.didomi.io/organization-and-account-settings/domains/domain-usage.md">Click here</a> for more information on domain usage.</p><p></p><p>Additionally, use the toggle to choose whether to allow bots to index the custom domain. </p></td></tr><tr><td>3</td><td>Create a NS record</td><td>Provides the values needed to create the NS records with your organization's DNS provider for the custom domain. <br><br><mark style="background-color:$warning;"><strong>Note</strong>: The DNS must be fully propagated before submitting your custom domain. A modal will ask your organization to confirm the propagation. If the records are not created and/or fully propagated yet, then your custom domain will be saved with a <strong>Draft</strong></mark> <a href="https://docs.didomi.io/organization-and-account-settings/domains/domain-status-glossary.md"><mark style="background-color:$warning;">status</mark></a><mark style="background-color:$warning;">.</mark></td></tr><tr><td>4</td><td>Submit your domain</td><td>Submit custom domain for verifcation and provisioning</td></tr><tr><td>5</td><td>Domain verification</td><td>Indicates that Didomi has received the request for the creation of the new custom domain. Verification can take up to 72 hours.</td></tr></tbody></table>

<figure><img src="https://1825037175-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNDxbAdc00ce6bH5u1urh%2Fuploads%2FnHiXEaQ2QiZ4SKuFwJJl%2FScreenshot%202025-10-08%20at%2012.29.19%E2%80%AFPM.png?alt=media&amp;token=59050e91-2eaf-4679-8442-c5ce7dbfe661" alt="" width="563"><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.didomi.io/organization-and-account-settings/domains/create-custom-domain.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
