# Change or update my custom domain in GitBook

You can easily update your custom domain through your site settings:

1. Navigate to your **Docs Sites** in the left sidebar
2. Select the site where you want to change the domain
3. Click **Settings** at the top of the site page
4. Go to **Domain and URL** section.
5. You can either:
   * Remove the current domain and add a new one
   * Edit the existing domain configuration

{% hint style="info" %}
**Remember** to update your DNS settings with your domain provider to point to the new GitBook configuration. The process is the same as the initial setup - you'll need to create a CNAME record pointing to the value GitBook provides.
{% endhint %}


---

# 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://gitbook-open-v2-preview.gitbook.workers.dev/url/gitbook.com/docs/help-center/published-documentation/custom-domains/change-or-update-my-custom-domain-in-gitbook.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.
