FlowTruxFlowTrux/Docs

Custom domain

Serve your organization's published apps on your own domain name, such as portal.your-company.com, with one DNS record.

With a custom domain, your organization's published apps open on a name you own - https://portal.your-company.com/<app-slug> - instead of https://<organization-address>.flowtrux.ai/<app-slug>. One domain serves every published app of the organization; each app keeps its own slug after the name.

Who can use it

  • Plan: a custom domain is part of the Pro plan (with apps that carry no "Powered by FlowTrux" badge - see Publishing & Access). On other plans the card says "A custom domain is part of the Pro plan."
  • Role: Owners and Admins. The card is in Settings > Organization > Custom domain; Members do not see it.
  • One domain per organization. A name can belong to only one organization.

Choosing the name

Use a name with a sub-domain: portal.your-company.com, apps.your-company.com, forms.client.co.uk. A bare domain such as your-company.com is refused: "Use a name with a sub-domain, for example portal.client.com."

Why not the bare domain:

  • The connection works through a CNAME record, and DNS does not allow a CNAME record on a bare domain.
  • A custom domain is served over HTTPS only, and browsers are told to remember that. On a sub-domain this applies to that name (and names under it) only; on a bare domain it would reach every other sub-domain of your company.

Pick a name you do not use for anything else - your apps take over the whole name.

Step 1 - Save the name

In Settings > Organization > Custom domain, type the name under Domain name ("Use a name with a sub-domain. Your apps will be at that name followed by the app's address.") and click Save. The card answers "Domain saved. Add the record below, then check DNS." and shows the record to create.

Step 2 - Add one DNS record

The card says "Add this record at your DNS provider:" and shows a table with Type, Name and Points to, each with a Copy button. There is exactly one record:

TypeNamePoints to
CNAMEyour domain namea value that ends in .custom.flowtrux.ai

The Points to value is unique to your organization - a long code followed by .custom.flowtrux.ai. It points the name at FlowTrux and at the same time proves that the name is yours, so copy it exactly from the card.

Example: portal.example.com

Say your company owns example.com and you want your apps at portal.example.com (example.com stands for your own domain here - FlowTrux refuses example.com itself). Save portal.example.com on the card, then at the DNS provider of example.com add:

TypeNamePoints to
CNAMEportal (or portal.example.com)<code from the card>.custom.flowtrux.ai

Many DNS providers ask only for the part before your domain in the Name field (portal); others take the full name. Either way the record must be on portal.example.com. Leave the time-to-live at your provider's default.

When it is live, a published app with the slug orders opens at https://portal.example.com/orders.

DNS providers that proxy traffic

"If your DNS provider can proxy traffic (for example Cloudflare), set this record to “DNS only”." A proxied record hides the CNAME behind the provider's own addresses, so the check cannot see it and the connection cannot be set up. In Cloudflare, click the orange cloud next to the record so it turns grey (DNS only).

Step 3 - Check DNS

"A new record can take from a few minutes to an hour to appear." When you have added it, click Check DNS. The check looks the name up in public DNS and compares the answer with the record on the card:

  • "DNS is correct" - the domain moves on to the next state by itself.
  • "The record is not right yet" - the card shows what DNS answers now (see below). Fix the record or wait a little, then check again.

The check happens only when you click Check DNS - until then the domain stays Waiting for DNS.

What the card says

States

State on the cardWhat it meansWhat to do
"Waiting for DNS."The name is saved; the record has not been confirmed yet.Add the record, then Check DNS.
"DNS is correct; the connection is being set up."The record is right. FlowTrux is issuing a certificate for the name and turning it on.Nothing - the card updates on its own.
"Active."Your apps are served on the name. The card shows "Your apps are at …" and "The old addresses on … keep working."Nothing. Check DNS is there if you want to confirm the record.
"The DNS record no longer points to FlowTrux (since …). Check the CNAME record at your DNS provider and run “Check DNS”. If the record is not fixed within 7 days of that date, the domain will be turned off."The daily check found the record missing or wrong. Apps are still served on the name for now.Fix the record, then Check DNS - a passing check clears the warning at once.
"The connection could not be set up. Check the record and run the check again."The certificate for the name could not be issued.Make sure the record is still there and is DNS only, then Check DNS again.
"Turned off: the record stopped pointing to FlowTrux, or the plan changed. Fix the CNAME record at your DNS provider and run “Check DNS”, or remove the domain."The daily check found the record missing or wrong for 7 days, so the domain was switched off.Fix the record and Check DNS, or Remove the domain.
"This domain was blocked by FlowTrux. Contact support."FlowTrux blocked the name. While blocked it can't be checked, changed or removed.Write to support.

What DNS answers now

After a check that did not pass, the card says what DNS answered:

MessageMeaning
"DNS has no record for this name yet."The name exists, but there is no CNAME on it (yet).
"This name does not exist in DNS yet."DNS does not know the name at all - the record is missing, on another name, or not published yet.
"The record points elsewhere: …" (or "The record points elsewhere.")There is a CNAME, but its value is not the one on the card. The value DNS returned is shown after the colon.
"DNS did not answer in time. Try again in a minute."A temporary lookup problem - nothing to fix on your side.
"DNS could not be checked. Try again in a minute."Same.

How long it takes

  • The record appearing in DNS: from a few minutes to an hour, depending on your DNS provider.
  • After "DNS is correct": usually a few minutes until the card says "Active.". Keep the card open, or come back later - it updates by itself.
  • If the certificate cannot be issued within 30 minutes, the state becomes "The connection could not be set up…".

What changes, and what doesn't

Once the domain is active:

  • Links FlowTrux gives you use the new name: the address in the Apps list and in the app editor's Settings and Publish tabs. Old /r/<token> and /f/<token> links redirect to the app on your domain.
  • The old addresses keep working. https://<organization-address>.flowtrux.ai/<app-slug> still opens the same app - there is no redirect between the two, so links you shared before stay valid.
  • The draft preview stays on flowtrux.ai. Previews never open on your domain.
  • The domain itself has no start page: https://portal.your-company.com/ answers Not found. Only app addresses (/<app-slug>) open.
  • Passwords: an app protected by One shared password asks for it again on the new name - the sign-in of each address is kept separately in the browser.
  • Search engines: apps on your domain are not indexed, exactly as on flowtrux.ai - every response asks search engines not to index it, and the domain's robots.txt disallows everything.
  • No badge: apps on a custom domain never show the "Powered by FlowTrux" badge.

The daily check

FlowTrux checks the record of every active domain once a day. This protects you: if a name stops pointing at FlowTrux, someone else may control it now, so FlowTrux stops serving it.

  1. The first day the record is missing or wrong, the organization's owner gets an e-mail - "Your custom domain … no longer points to FlowTrux" - and the card shows a warning: "The DNS record no longer points to FlowTrux (since …). Check the CNAME record at your DNS provider and run “Check DNS”. If the record is not fixed within 7 days of that date, the domain will be turned off." Apps stay on the domain for now.
  2. Fix the record and click Check DNS. A passing check clears the warning at once; otherwise the next daily check clears it when it finds the record correct.
  3. If the record is still missing or wrong 7 days after that date, the domain is turned off and the owner gets a second e-mail - "Your custom domain … was turned off". Apps are no longer served on the name; they keep working on their flowtrux.ai addresses. The card shows the "Turned off" state.

Check DNS never turns a domain off: a check you run that does not pass only shows what DNS answers now. Only the daily check turns a domain off, and only after 7 days. A daily check that fails only because DNS did not answer in time does not count and sends nothing.

Changing the plan

If the organization moves to a plan without a custom domain, apps stop being served on it within about a minute, and every link FlowTrux gives you goes back to the flowtrux.ai address. The card shows "A custom domain is part of the Pro plan." with the saved name and Remove. Moving back to Pro serves the domain again; if it was still active, no new check is needed.

Changing or removing the domain

  • Another name: type it under Domain name and Save. The new name starts again from "Waiting for DNS.", with a new record value - add the new record and check again. Saving the same name again changes nothing.
  • Remove: click Remove. The card asks "Remove the custom domain?" - "Links that use … stop working. Your apps keep their addresses on …." After "Custom domain removed", delete the CNAME record at your DNS provider as well.

Troubleshooting

ProblemWhat to do
"This name does not exist in DNS yet." / "DNS has no record for this name yet." right after adding the recordWait - a new record can take up to an hour. Then Check DNS again. Also check the Name field at your provider: if it took the full name in a field that expects only portal, the record may have landed on portal.example.com.example.com.
"The record points elsewhere: …"Copy the Points to value from the card again (all of it, including .custom.flowtrux.ai). If the name had an older record, delete it - the name must have exactly one CNAME. If you changed the name on the card, its value changed too.
The check never passes on Cloudflare (or another provider that proxies)Switch the record to DNS only.
"This domain is already in use."Another FlowTrux organization has this name. Choose another name, or contact support if you believe the name is yours.
"Use a name with a sub-domain, for example portal.client.com."You entered a bare domain - add a sub-domain such as portal..
"This name belongs to FlowTrux and cannot be used."Names under FlowTrux's own domains can't be used.
"Too many attempts. Try again later."Too many saves or checks in a short time; wait and try again.
"The connection could not be set up…"Check that the record still exists and is DNS only, then Check DNS again. If it fails again, contact support.