Domains
Overview
Section titled “Overview”Settings › Domains is the wizard that connects your own hostnames to a workspace. It handles three kinds of domain:
| Kind (label in the app) | What it is for |
|---|---|
| Sending domain | Required before any marketing email can be sent (SPF, DKIM, DMARC). |
| Tracking domain | Your own hostname for click/open tracking links and the web tracker. |
| Landing & booking site | Landing pages and booking pages on your hostname, or on some paths of your site. |
- Where: sidebar group Settings › Domains, URL path
/t/<workspace>/settings/domains. - Who: members with
domains:manage(owners and admins).
The page shows, from top to bottom: a red banner when email sending is blocked, the Connect a domain card (kind picker, hostname, optional paths and Add), and one card per connected domain with its progress, DNS records and actions.
How it works
Section titled “How it works”Automation mode
Section titled “Automation mode”At the top of Connect a domain a sentence tells you how DNS changes are made on this installation, followed by “Edge hostname: …” (the hostname of the edge worker that serves your tracking links, landing pages and booking pages):
| Mode | Text in the app | What happens |
|---|---|---|
| Cloudflare | “DNS changes are applied on your Cloudflare zone automatically.” | The installation has a Cloudflare API token. Each domain card has a Create on Cloudflare button that creates the records, Workers custom domain or Workers Routes for you. |
| Manual | “No Cloudflare API token is configured: create the records below on your DNS provider.” | You copy the records shown on the card into your DNS provider, then click Verify. |
| Local development | “Local development: DNS changes go to a simulated zone (no network).” | Only on development builds. |
How to give the installation a Cloudflare API token is explained in Cloudflare API token.
Lifecycle and statuses
Section titled “Lifecycle and statuses”Every domain card shows three steps: Added, then DNS on Cloudflare (or DNS records created in manual mode), then Verified. A step turns green when it is done.
| Status pill | Meaning | How a domain gets there |
|---|---|---|
| Not verified (pending) | Added, not confirmed yet. | Every new domain starts here (a sending domain can be verified immediately if the email provider already knows it). A failed check on a domain that was never verified keeps it here. |
| Verified | The check succeeded. | Verify succeeded: the email provider confirmed the records (sending), or the edge worker answered on the hostname (tracking, site). |
| Verification failed | A previously verified domain failed a later check. | Verify failed on a domain that was Verified before. |
Verification runs only when you click Verify; there is no background re-check.
What each kind needs
Section titled “What each kind needs”-
Sending domain. When you add it, the email provider (PostShiba) generates the records to create, shown in the card table:
- DKIM: a CNAME pointing to the provider (or a TXT record holding the key, when the domain’s key was imported at the provider);
- Return path: a CNAME used for bounces;
- DMARC: a TXT policy. Create on Cloudflare writes it only when the zone has no DMARC record yet (a second DMARC record would void both), so an existing policy is kept. In manual mode, skip this row if your domain already has a DMARC record.
Verify asks the provider to check them; the records list is refreshed from the provider at each check. A domain stays Not verified while records are missing (the provider keeps rechecking); only a domain the provider has suspended is reported as invalid. Until at least one sending domain is Verified, broadcasts and automation emails cannot go out.
The first sending domain of a workspace also creates the workspace’s own sender at the provider: a separate tenant, an SMTP credential (stored encrypted by the installation; it can send only from that workspace’s verified domains) and a delivery webhook signed with the workspace’s own secret. Each workspace therefore has its own suppression list at the provider.
-
Tracking domain. One record: a CNAME from your hostname to the edge hostname. With Cloudflare automation, Create on Cloudflare attaches the hostname to the edge worker as a Workers custom domain instead. Verify probes the edge worker on your hostname.
-
Landing & booking site, whole hostname. Same as a tracking domain: a CNAME to the edge hostname (or a Workers custom domain with automation). Published landing pages answer on their path.
-
Landing & booking site, some paths. When you enter paths (for example
/offers), your existing website keeps serving the hostname and only those paths are sent to the edge worker through Workers Routes. No DNS record is shown. The card lists the routes under Workers Routes: for each pathhost/pathandhost/path/*, plushost/m/*(media),host/b/*(booking pages) andhost/health. These routes require the hostname to be on a Cloudflare zone of your account.
Sending status
Section titled “Sending status”The red banner Email sending is blocked (“Connect and verify a sending domain before broadcasts and automation emails can go out.”) appears here and on broadcasts, templates and automation email steps while no sending domain is verified. Its link Set up a sending domain opens this page.
Step by step
Section titled “Step by step”Connect a sending domain
Section titled “Connect a sending domain”- Open Settings › Domains and click the Sending domain tile.
- In Hostname, type the domain you send from, for example
mail.example.com. A scheme (https://), a path or a trailing dot are stripped automatically. - Click Add and confirm with your second factor if asked. A toast says “Domain added” and a new card appears with the records to create.
- Create the records:
- Cloudflare mode: click Create on Cloudflare. “DNS changes applied” confirms it, and the card shows “Zone: …”.
- Manual mode: for each row of the table, copy Type, Name and Value (use the Copy button) into your DNS provider.
- Click Verify. DNS changes can take a while to propagate: if the status stays Not verified, wait and click Verify again.
- When the pill shows Verified, the sending banner disappears and email can be sent.
Connect a tracking domain
Section titled “Connect a tracking domain”- Click the Tracking domain tile and enter a hostname such as
links.example.com. - Click Add (confirm with your second factor if asked).
- Click Create on Cloudflare (Cloudflare mode) or create the CNAME shown on the card pointing to the edge hostname (manual mode).
- Click Verify until the status is Verified.
Serve landing and booking pages on your own domain
Section titled “Serve landing and booking pages on your own domain”- Click the Landing & booking site tile and enter a hostname such as
www.example.com. - Optional: in Paths (optional) type one or more paths separated by commas or spaces, for
example
/offers, /events. Leave it empty to serve the whole hostname. - Click Add (confirm with your second factor if asked).
- Click Create on Cloudflare to create the Workers custom domain (whole hostname) or the Workers Routes (paths). In manual mode, create the CNAME shown for a whole hostname, or add the routes listed under Workers Routes yourself in the Cloudflare dashboard for a path-based site.
- Click Verify.
Re-apply DNS, re-verify or disconnect a domain
Section titled “Re-apply DNS, re-verify or disconnect a domain”- To recreate the records (for example after someone deleted them), click Apply again on the card (Cloudflare mode only). Confirm with your second factor if asked.
- To check again, click Verify. The card shows “Last check: …” and, on failure, “Last error: …”.
- To disconnect, click the trash icon and confirm “Disconnect …?” (second factor if asked). A toast says “Domain removed”. A sending domain is also deleted at the email provider (if the provider cannot be reached, the domain is not removed: try again later). Records already created on your DNS zone are not deleted.
Reference
Section titled “Reference”Connect a domain card
Section titled “Connect a domain card”| Field | Required | Limits | Notes |
|---|---|---|---|
| Kind tiles | Yes | Sending domain, Tracking domain, Landing & booking site | Default: Sending domain. |
| Hostname | Yes | 4–253 characters; a valid domain name with at least one dot and a letter-only top-level domain | Converted to lowercase. Each hostname can be connected once across the whole installation. |
| Paths (optional) | No | Only for Landing & booking site; up to 10 paths, each up to 64 characters, lowercase letters, digits, -, _ and / |
A trailing * or / is removed. /health, /m and /b are reserved. |
Domain card
Section titled “Domain card”| Element | Content |
|---|---|
| Header | Icon, hostname, kind pill, status pill. |
| Create on Cloudflare / Apply again | Creates the DNS records (sending), the Workers custom domain (tracking, whole-hostname site) or the Workers Routes (site with paths). Hidden in manual mode. |
| Verify | Runs the check now. |
| Trash icon | Disconnects the domain. |
| Steps | Added › DNS on Cloudflare / DNS records created › Verified. |
| Records table | Type (CNAME or TXT for sending domains, CNAME for tracking and site domains), Name, Value, Copy. |
| Workers Routes | Route patterns sent to the edge worker (site with paths only). |
| Footer | “Zone: …” (after automation), “Last check: …”, “Last error: …”. |
Last error values
Section titled “Last error values”| Value | Meaning |
|---|---|
records_not_found_yet |
The email provider has not confirmed the sending records yet (missing, still propagating or different). |
records_invalid |
The email provider has suspended the sending domain. |
edge_unreachable |
The edge worker did not answer on the tracking or site hostname. |
| Cloudflare message | The text returned by Cloudflare when automation failed. |
Limits and permissions
Section titled “Limits and permissions”| Action | Permission | Second factor |
|---|---|---|
| Open the page, list domains, Verify | domains:manage |
— |
| Add a domain | domains:manage |
Yes |
| Create on Cloudflare / Apply again | domains:manage |
Yes |
| Disconnect a domain | domains:manage |
Yes |
| See whether sending is blocked (banner) | broadcasts:read |
— |
API keys and apps with domains:manage can call the same endpoints without a second factor
(see the REST API).
Troubleshooting
Section titled “Troubleshooting”| Error | Cause | Fix |
|---|---|---|
invalid_hostname |
The hostname is not a valid domain name. | Enter only the hostname, e.g. mail.example.com. |
invalid_path (“invalid path: …”, “… is reserved”, “too many paths”) |
A path has invalid characters, is /health, /m or /b, or there are more than 10. |
Fix the list of paths. |
hostname_taken |
The hostname is already connected to a workspace on this installation, or (“hostname already used by another sender”) the email provider already has this sending domain under another sender. | Disconnect it there, or use another hostname. |
email_not_configured |
Marketing email is not configured on this installation (self-hosted: the PostShiba settings are missing). | Ask the installation administrator to configure it (see Optional tokens and secrets). |
email_provider_unavailable (503) |
The email provider is temporarily unreachable. | Retry later. |
email_provider_error (502) |
The email provider refused the request; its message is shown. | Check the message; contact the administrator if it persists. |
automation_unavailable |
No Cloudflare API token is configured. | Create the records by hand, or add a token. |
zone_not_found |
No Cloudflare zone of the account covers the hostname. | Add the domain to Cloudflare (see Connect domains) or use manual mode. |
dns_automation_failed |
Cloudflare refused the change or was unreachable; the message is shown as “Last error”. | Check the token permissions in Cloudflare API token and retry with Apply again. |
| Status stays Not verified | DNS has not propagated or the records differ. | Compare every record with your DNS provider; wait and click Verify again. |
| Status Verification failed | A verified domain no longer passes the check (records removed or changed, or the provider suspended the domain). | Recreate the records (Apply again) and verify; records_invalid means the provider suspended the domain. |
| Email sending is blocked banner | No sending domain is verified. | Connect and verify a sending domain. |

