Custom Domains
How to serve a Workspace or a single Project CMS on a customer domain such as cms.onttle.com, set up and verify DNS, and how login works on a custom domain.
With a custom domain, a Workspace's CMS is reached on your customer's or your team's domain (for example cms.onttle.com) instead of app.onttle.com. Agencies use it to hand a CMS to a client, and teams use it to run an internal service on their own domain. A connected domain also gets the Workspace's custom theme, so the logo and colors change with it.
Domains are connected at two levels. A Workspace domain opens the whole Workspace; a Project domain opens one Project only. An agency that runs several clients' Projects in one Workspace connects a Project domain per client.
| Item | Details |
|---|---|
| Plan | Pro and above (on Free the menu is disabled and shows an upgrade notice) |
| Permission | Owner (OWNER) or Admin (ADMIN): of the Workspace for a Workspace domain, of the Project for a Project domain |
| Limit | Up to 20 Workspace domains, plus up to 5 Project domains per Project |
| Format | Subdomains only (cms.onttle.com ✓, acme.com ✗) |
Adding a Domain
- Go to Workspace → Domains. A Project domain is added under Project → Domains.
- Enter the hostname and click Add. The value is lowercased; do not include
https://or a path. - Create the DNS records shown on the screen at your DNS provider (Cloudflare, Route 53, GoDaddy, and so on).
- Once DNS has propagated, Onttle verifies the domain automatically and the status becomes Active. To check right away, click Check after DNS setup.
DNS Records
| Type | Name | Value | Notes |
|---|---|---|---|
| CNAME | cms.onttle.com |
The value shown on the screen | Always required. |
| TXT | _vercel.acme.com or similar |
The value shown on the screen | Shown only when domain ownership needs to be verified. |
- Use the Copy button on each row to copy the exact value. You do not need a trailing dot (
.). - Remove any existing A record or other CNAME with the same name. A CNAME cannot coexist with other records on the same name.
- On Cloudflare, turn the proxy (orange cloud) off for the record and leave it as DNS only.
Verification Schedule
After a domain is added, Onttle checks it after 1 minute, 5 minutes, 15 minutes and 1 hour, then every 6 hours for up to 72 hours. Active domains are re-checked once a day. DNS propagation usually takes a few minutes and up to 48 hours.
Statuses
| Status | Meaning |
|---|---|
| Waiting for DNS | The records have not propagated or have not been created yet. Check the records shown. |
| Active | Verification succeeded and the domain is live. The HTTPS certificate is issued automatically. |
| Error | The domain was not verified within 72 hours, or a check failed. Fix the records and click Check after DNS setup to verify again. |
The notice under the status means the following.
| Notice | Cause and fix |
|---|---|
| The CNAME record does not point to Onttle yet | The CNAME is missing or has a different value. Create it with the value shown and check again shortly. |
| TXT record missing / does not match | Create the ownership TXT record with the exact name and value shown. |
| DNS is misconfigured | Look for conflicting records on the same name. |
| Not verified within 72 hours | Check the records, then restart with Check after DNS setup. |
| The domain provider is unavailable | Try again in a moment; if it persists, contact support. |
Primary Domain
When a Workspace has several domains, one of them is the primary domain. The first domain you add becomes primary automatically, and only active domains can be made primary. The Workspace's own domains and each Project's domains have one primary domain each.
Behaviour on a Custom Domain
- A custom domain is bound to its Workspace. The Workspace list, Workspace creation and other Workspaces are not reachable; they redirect to this Workspace.
- An account that is not a member of the Workspace sees an access-denied screen after signing in.
- The login screen and the header show the Workspace's custom theme (logo, colors, title).
Login
- Email login works on the custom domain directly.
- Google and GitHub login briefly go through
app.onttle.comfor authentication and then return to the custom domain, where you are signed in automatically. This must complete within one minute; after that the login screen asks you to try again. - Sessions are separate per domain. Being signed in on
app.onttle.comdoes not sign you in on the custom domain. - Links in emails (password reset, sign-up confirmation) open on
app.onttle.com. After completing them, sign in on the custom domain.
Project Domains
A Project domain opens that one Project only. When one Workspace holds the Projects of several clients, each client can use the CMS on their own domain, with their own theme.
- Go to Project → Domains. Only the Project's owner or admins can add one.
- Add the hostname and create the DNS records. Records, the verification schedule and statuses are the same as for a Workspace domain.
| Item | Workspace domain | Project domain |
|---|---|---|
| Where it is set | Workspace → Domains | Project → Domains |
| What it opens | The Workspace and all of its Projects | That Project only |
| First screen | The Project list | The Project's home |
| Theme | Workspace theme (inside a Project with its own theme, that Project's) | Project theme (the Workspace theme when it has none) |
| Limit | 20 per Workspace | 5 per Project |
| Sign-up | Open to anyone | Only email addresses the Workspace has invited |
On a Project domain:
- Workspace screens (billing, members, settings), the Project list and other Projects do not open; they lead to the Project's home. The Workspace and Project switchers in the header are hidden.
- Only members of the Project can sign in. An account that is not a member is not signed in and sees a notice, even if it is a member of the Workspace.
- The Onttle feedback button, the Workspace credit balance, the "View workspace usage" button and Onttle's business registration info under the sidebar are hidden.
- There is no open sign-up. On a Project domain an account can only be created for an email address the Workspace has invited. To bring someone into that Project only, use Project → Members → Invite by email. Signing up with an address that was not invited, or signing in with Google or GitHub for the first time, creates no account and shows a notice. People who already have an Onttle account can sign in only if they are members of the Project.
- The login screen, header and browser tab use the Project theme, or the Workspace theme when the Project has none.
- Sign-in and sessions work as described under Login.
- While the Project is in the trash its domains do not open; they work again once it is restored.
A hostname can be used once across Workspace and Project domains. To turn a hostname already connected as a Workspace domain into a Project domain, remove it first and add it again.
Removing a Domain
Click Remove and the domain stops serving immediately. A removed hostname cannot be used by another Workspace for 30 days; the same Workspace can add it again right away.
Hostnames That Cannot Be Added
| Input | Result |
|---|---|
acme.com (apex domain) |
Only subdomains can be connected. Use something like cms.onttle.com. |
Subdomains of onttle.com, localhost, hosting providers' default domains |
Reserved hostnames. |
| IP addresses, hostnames with a port | Not a valid hostname. |
| A hostname connected to another Workspace or Project | Already in use, including hostnames removed less than 30 days ago. |
| A 21st Workspace domain, a 6th Project domain | Up to 20 Workspace domains and 5 Project domains per Project. Remove one you no longer use. |