Skip to content

Platform

Domains

Add the domains your widget runs on and verify them with a DNS TXT record. Wildcards, localhost, and registrar quirks.

On this page

Under Domains you list the sites your widget and contact form run on, and prove you own them with a DNS TXT record.

Warning

Verified domains are enforced. Once a project has at least one verified domain, its widget key only works on those domains (and on localhost). Verify every hostname your widget runs on, including the bare domain if you use it, before or right after verifying the first one. You can leave the TXT record in place after verifying.

Where your widget works

Each request from the chat widget, the contact form and browser event tracking is checked against the page's origin:

The project has…The widget works on…
No verified domainAny site, as before. Unverified domains block nothing.
At least one verified domainIts verified domains, plus localhost and 127.0.0.1 on any port.
  • example.com matches only example.com. www.example.com is a different hostname.
  • *.example.com matches every subdomain, but not example.com itself. Add and verify the bare domain separately.
  • The scheme and port don't matter: http://shop.example.com:8080 matches shop.example.com.
  • Other sites get 403 Forbidden with "code": "WIDGET_ORIGIN_NOT_ALLOWED", and the widget shows its error state. See Troubleshooting.
  • The check uses the browser's Origin header, so it stops other sites from embedding your widget. It isn't authentication: the widget key stays public, and server-side calls without an Origin aren't checked.
  • A newly verified domain can take up to a minute to be accepted everywhere.

Add a domain

Enter a hostname: example.com, www.example.com or app.example.com. Channlize stores it in lowercase, drops any scheme, port or path, keeps www, and converts international names to punycode.

Wildcards

*.example.com covers every subdomain at any depth (app.example.com, eu.app.example.com) but not example.com itself. Add the apex separately if you need it.

Not accepted: * alone, *.com, a wildcard that isn't the first label (app.*.com, *app.com), public suffixes shared by many sites (*.co.uk, *.netlify.app), IP addresses, and single-label names other than localhost.

localhost

localhost is allowed for local development and never needs verification (it can't be verified). The widget always works on localhost and 127.0.0.1, even when you haven't added them.

Verify with a TXT record

After adding a domain, the dashboard shows a TXT record to create at your DNS provider:

TypeNameValue
TXT_channlize-verify.example.comchannlize-verification=<token>

The token is 32 hex characters, unique to the domain. For a wildcard like *.example.com, the record goes on the base domain: _channlize-verify.example.com.

Channlize looks the record up through public resolvers (Cloudflare 1.1.1.1 and Google 8.8.8.8). While the page is open it re-checks automatically (every 15 seconds for 3 minutes, then less often for up to an hour); click Check now any time. A failed check never un-verifies a domain that was already verified.

Registrar quirks

  • The name field. Many registrars append your domain to the name automatically. If yours does, enter just the label: _channlize-verify for example.com, or _channlize-verify.www for www.example.com. If you type the full name you get _channlize-verify.example.com.example.com, and verification fails.
  • Quotes. Some providers wrap TXT values in quotes, others want you to. Either is fine: Channlize strips surrounding quotes and joins split TXT strings.
  • Propagation. New records usually show up within minutes, occasionally up to 48 hours. Lower the TTL if your provider lets you.
  • Proxies and CNAMEs. A TXT record can't live on a name that is a CNAME. If _channlize-verify… already has a CNAME, remove it first.

Verification errors

ErrorMeaning
No TXT record found yetNo TXT record at _channlize-verify.<domain> yet. Check the name (see above) and wait for propagation.
Record found but value doesn't matchA TXT record exists but holds another value. Copy the value again from the dashboard.
DNS lookup failed, we'll retryThe lookup failed; it is retried, or click Check now in a minute.

Checks are throttled to one DNS lookup per domain every 10 seconds.