# Setup Custom Domain

* **Access Account Settings:** Click on your name in the upper right corner and select "Account Settings."
* **Add Your Custom Domain:** Scroll down to the "Custom Domain" section and enter your preferred domain.
* **Configure Your Domain Provider:** After saving, go to your domain provider and create a CNAME record that points to **your Emailpref domain**.<br>

{% hint style="danger" %}
You need to point to your own Emailpref domain, below is just an example.&#x20;
{% endhint %}

<figure><img src="/files/NIHg7xUbaYdYIfwWnWkW" alt=""><figcaption><p>Custom Domain</p></figcaption></figure>

<figure><img src="/files/hwVILXiC2Z9dENI0Na1Z" alt=""><figcaption><p>Point CNAME (Just an example)</p></figcaption></figure>

{% hint style="info" %}
Please note: It may take up to 24 hours for the SSL certificate to be generated.
{% endhint %}

*Important:* Your Emailpref domain will remain active, so any emails previously sent using it will still allow customers to access your preference pages.


---

# 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://emailpref.gitbook.io/emailpref-documentation/general/setup-custom-domain.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.
