# Domains

By default, whether used to load a consent notice, a preference center, or a privacy request widget, the Didomi Web SDK, including its assets (JavaScript files, images, etc.) and API requests, relies on the **privacy-center.org** domain.

You can use one of your own domains for:

* Serving the Web SDK and API requests from your own domain by redirecting all requests to your domain instead of the domain used by Didomi (`privacy-center.org`). This ensures that Didomi does not appear as a third-party on your websites.
* Sharing consents across domains.
* Reducing reliance on browsers. This ensure visitor's consent is captured and ads served comply with user choices.

Once configured, a custom domain can be used for some or all those purposes listed above.

We offer two solutions for setting up your domain:

* [A delegated custom domain relying on Didomi's infrastructure](https://developers.didomi.io/api-and-platform/domains/domain-delegation)
* [A reverse proxy relying on your own infrastructure](https://developers.didomi.io/api-and-platform/domains/reverse-proxy)

### Setup options available

<table><thead><tr><th width="142.2265625"></th><th>NS Delegation (subdomain)</th><th>Reverse proxy (subdomain)</th><th>Reverse proxy (main domain)</th></tr></thead><tbody><tr><td>Resilience</td><td>Robust against Adblockers until subdomain is blocked</td><td>Robust against Adblocker until subdomain is blocked</td><td>Robust against Adblocker.</td></tr><tr><td>Increase Adblocker resilience</td><td>✅</td><td>✅</td><td>✅</td></tr><tr><td>Safari ITP</td><td>🟡 Cookie maintained only 7 days</td><td>🟡 Cookie maintained only 7 days</td><td>🟡 Cookie maintained only 7 days</td></tr><tr><td>Implementation complexity</td><td>🟢 Low – NS record only</td><td>🔴 High – Requires reverse-proxy setup</td><td>🔴 High – Requires reverse-proxy setup + Path transformation</td></tr><tr><td>Recommendation</td><td>Best for low-budget, non-technical clients, or non-critical setups</td><td>Best for technical teams with strong infra and allows subdomain branding</td><td>Best for technical teams with strong infra and Adblockers concerns.</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developers.didomi.io/api-and-platform/domains.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
