Custom domain
Serve your DGbot widget and chat interface from your own domain for a fully white-labelled experience.
Overview
By default, the DGbot widget loads from dgbot.dgtech.co.in. On the Starter plan and above, you can configure a custom subdomain so the widget loads from chat.yourdomain.com or support.yourdomain.com.
This is useful when:
- Your website has a strict Content Security Policy that must allowlist script sources
- You want a fully white-labelled experience with no mention of DGbot in the browser network tab
- You're embedding the full-page chat via iframe and want the iframe source to be your own domain
dgbot.dgtech.co.in/admin/.Steps
Pick a subdomain you control. Common choices: chat.yourdomain.com, support.yourdomain.com, help.yourdomain.com.
Go to Deploy → Custom domain.
Open Custom domain settingsCustom domain settings. Enter your subdomain and follow the DNS instructions.
In your domain registrar or DNS provider, add a CNAME record:
| Name | Type | Value |
|---|---|---|
chat (or your chosen subdomain prefix) | CNAME | dgbot.dgtech.co.in |
DNS changes can take up to 24 hours to propagate, though most providers update within minutes.
Type your full subdomain (chat.yourdomain.com) in the Custom domain field and click Verify DNS. DGbot checks your DNS record and issues an SSL certificate automatically.
A green Verified badge appears when DNS is confirmed and SSL is active.
Once verified, copy the updated embed snippet from the page. It now uses your custom domain:
<script src="https://chat.yourdomain.com/widget.js" data-chatbot-id="YOUR_CHATBOT_ID" defer ></script>
Replace your existing snippet on your website.
Verify
Visit your website and open the browser network tab. The widget script should load from chat.yourdomain.com, not from dgbot.dgtech.co.in.