Skip to content
MyAppBuilder
BetaGuide

Custom domains

A custom domain lets your published app live at an address you own, such as app.yourcompany.com, instead of the MyAppBuilder address. You keep your domain where it is registered; you only add two DNS records there, then verify the domain in Settings. Custom domains are part of pa

Beta — ready to use, but some details may still change.

A custom domain lets your published app live at an address you own, such as app.yourcompany.com, instead of the MyAppBuilder address. You keep your domain where it is registered; you only add two DNS records there, then verify the domain in Settings. Custom domains are part of paid plans and can be managed by workspace admins and owners.

When to use

  • Customers should see your brand in the address bar.
  • You want a short, memorable address on business cards and emails.

Before you start

  • You can edit the DNS records of your domain at your domain provider (GoDaddy, OVH, Namecheap, Cloudflare…).
  • Decide on a subdomain (app.yourcompany.com, portal.yourcompany.com). Root domains (yourcompany.com) are possible but need an ALIAS/ANAME or A record; see below.
  • Connecting a domain does not move your website or email: only the records you add are affected.

How to connect a domain

  1. Open Settings › Domains.
  2. Under Custom domains, type the hostname (for example app.yourcompany.com) and click Add domain. Addresses ending in the MyAppBuilder root domain are refused ("already included"), and a domain can be connected to only one app.
  3. The domain appears with the status Waiting for DNS and a table Add these records at your domain provider:
Example
Type   Name / host                      Value
CNAME  app.yourcompany.com              apps.<root domain>
TXT    _myappbuilder.app.yourcompany.com   mab-verify=<token>

For a root domain the first record is an A record pointing at the platform's edge IP (when the platform has configured one) or an ALIAS/ANAME to apps.<root domain>.

  1. Add both records at your provider. Use the copy buttons to avoid typos.
  2. Wait for DNS to propagate ("usually within minutes but can take up to an hour"), then click Check DNS. When the TXT record is found, the domain becomes Verified and SSL shows provisioning.
  3. Publish your app to production if you have not already. The domain starts serving your live app once it is verified.

HTTPS certificates

MyAppBuilder itself does not issue certificates: the platform's edge proxy issues them on demand once the domain is verified and points at the edge. The SSL badge shows the status reported for the domain (provisioning, active/issued, or failed/error). If it stays on provisioning for a long time after verification, contact support.

Removing a domain

Click the trash icon next to the domain and confirm. Visitors using that address no longer reach your app; you can add it again later. Deleting the project also removes its domains.

Common mistakes

  • Adding the records on the wrong host. The TXT record's name is _myappbuilder. followed by the full hostname, not the root domain.
  • Typing https://app.yourcompany.com. The protocol and any path are stripped automatically, but the hostname must be a valid domain like app.yourcompany.com.
  • Clicking Check DNS seconds after saving the record. Give your provider a few minutes.
  • Expecting the free address to stop working. The subdomain and path address keep working alongside the custom domain.

Advanced

Verification resolves the TXT record _myappbuilder.<host> and compares it with mab-verify=<verificationToken>. The proxy (src/proxy.ts) rewrites requests for any host that is not the builder or the root domain to /sites/<host>/…; projectForHost() serves the app only when the domains row is verified. The CNAME target is apps.<APP_ROOT_DOMAIN>; the apex A record value comes from APP_EDGE_IP. Domain add, verify and remove are audited.

Related

Was this helpful?