# Domain

***

### Chat Web

The **Chat Web** option lets you set up a custom domain for your chatbot’s standalone web page.

<figure><img src="/files/gJEg9CsnbQd4EAbiRB09" alt=""><figcaption></figcaption></figure>

#### Steps to Configure:

1. Go to **Bots → Domain → Chat Web**.
2. Copy the provided chatbot link (default `https://chat.cxgenie.ai?...`).
3. Enter your **Custom Domain** (e.g., `chat.example.com`).
4. Update your DNS settings:
   * Access your DNS provider’s panel.
   * Create a **CNAME** record:
     * **Name**: `example`
     * **Target**: `chat.cxgenie.ai`
   * Example: `chat.example.com → chat.cxgenie.ai`
5. If your DNS panel has proxy enabled, disable it and set to **DNS only** until verification is complete.
6. Save changes and wait 30 minutes to 24 hours for propagation.
7. (Optional) Customize appearance:
   * Upload a favicon (`.png`, 48x48px recommended).
   * Add **Meta Title** and **Meta Description** to improve branding and SEO.

***

### Chat Widget

The **Chat Widget** option allows embedding the chatbot on your website with a custom domain.

<figure><img src="/files/yx7qRm5utI7N1KUaFrIK" alt=""><figcaption></figcaption></figure>

#### Steps to Configure:

1. Go to **Bots → Domain → Chat Widget**.
2. Copy the script snippet provided (e.g., `<script src="https://widget.cxgenie.ai/widget.js" ...>`).
3. Enter your **Custom Domain** (e.g., `chat-widget.example.com`).
4. Update your DNS settings:
   * Create a **CNAME** record:
     * **Name**: `example`
     * **Target**: `widget.cxgenie.ai`
   * Example: `chat-widget.example.com → widget.cxgenie.ai`
5. Disable proxy (set to **DNS only**) until verification is complete.
6. Save changes and allow 30 minutes to 24 hours for changes to apply.

***

### Notes & Tips

* Ensure your domain is active and properly managed in your DNS provider.
* Avoid using proxy (e.g., Cloudflare orange cloud) until setup is completed.
* Use branded subdomains (`chat.brand.com` / `support.brand.com`) for a professional experience.
* Favicon & Meta title customization is recommended for better UX.


---

# 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://documents.cxgenie.ai/integrations-and-connections/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.
