DocsRun your app
Domains
The address every app gets, how to add a domain of your own with its DNS records, a domain behind your own proxy, HTTPS, and what does not work.
Use with AI
Every app gets an address from the platform as soon as it is deployed. You can add domains you own next to it. HTTPS is set up for each of them, with a certificate that renews by itself.
The platform URL
Section titled “The platform URL”The Platform URL is the address given to every app. It is under Settings, Domains and at the top of the app.
You can switch it off, for example once your own domain is live. If it is off and no custom domain is live, nothing answers for the app.
The part in front of the platform’s domain is yours to change: open Settings, Domains, choose Change next to the platform URL and edit Platform address. Letters, digits and hyphens only, 3 to 63 characters, not starting with xn--; an address another app has, or a reserved one, is refused. You can change it 3 times a day. The old address stops working at once, with no redirect, and is held for 30 days so that no other app can take it; your own app can take it back meanwhile.
Add a domain you own
Section titled “Add a domain you own”-
Add the hostname.
Open Settings, Domains, choose Add a custom domain, enter the hostname (
app.example.com) and choose Add domain. The dashboard says “Domain added. Create the DNS records shown to finish.”A hostname is written in lower case. One with letters outside plain ASCII, such as accents, is refused: enter its
xn--form instead, which your registrar shows. -
Create the DNS records.
The dashboard shows the records to add: a type, a name and a value. Create them at your DNS provider, exactly as shown. An info icon next to a group of records explains when it applies.
Your domain Records A subdomain, app.example.comOne CNAMErecordA root domain, example.comOne CNAMErecord on the root domain where your DNS provider allows one, otherwise anAand anAAAArecord. See A root domainA root domain is the name you registered. Where the ending has two parts, as in
example.co.ukorexample.co.in, that name is a root domain too, andwww.example.co.ukis a subdomain of it.The name of a record is the part in front of your root domain, which is what most DNS providers ask for:
@for the root domain itself,wwwforwww.example.com,www.shopforwww.shop.example.com.The value of a
CNAMErecord is a name made for your domain. Copy it from the page: every record has a button for its name and one for its value. Each domain has a value of its own, so do not reuse the one of another domain.One more record is listed under Optional. You need it only for a domain behind a proxy or CDN of your own.
The records also prove that the domain is yours. A
TXTrecord whose name starts with_platform-verifyis listed for that, with a value made for your team and this domain:- under And for a root domain, and for a name under a domain that another team uses on the platform. It is needed then, whichever way the domain points at us;
- under Or, to prove it for any other subdomain. The
CNAMErecord proves it already; theTXTrecord is needed only where theCNAMEcannot be seen, because it points at us through another name, or the name hasAandAAAArecords instead.
You may delete the
TXTrecord once the domain is verified. -
Wait for the check.
The domain shows Waiting for DNS. It is checked every few minutes, and Check again checks it at once. The certificate is asked for only once the records that prove the domain is yours are found; then it becomes Verified and the certificate is issued. A domain whose records are not found within 7 days is removed, see Waiting for its records.
-
Open it.
When the certificate is Active, the app answers at your domain, over HTTPS. The team gets one notification when the domain is live.
Waiting for its records
Section titled “Waiting for its records”Until its records are found, a domain waits. Its row says “Removed on … unless its records are found by then”, with the day 7 days after it was added.
- After a day without them the domain is marked Failed, with “The DNS records of this domain were not found yet.” or, where the
TXTrecord is needed, “The TXT record that proves this domain is yours was not found yet.”, followed by “A domain whose records are not found within 7 days is removed.” - After 7 days it is removed, and the team gets the notification Domain removed: “… was removed from … because its DNS records were not found within 7 days. Add it again once you can create them.”
- At most 5 domains of an app, and 10 across the apps of a team, can wait at a time. Beyond that, adding one is refused with “This app already waits for the DNS records of 5 domains. Finish or remove one of them before adding another.” or “Your team already waits for the DNS records of 10 domains across its apps. Finish or remove one of them before adding another.”
A root domain
Section titled “A root domain”For a root domain the dashboard lists two ways, with Or between them. Use one of them, not both. Either way, add the TXT record listed under And as well: for a root domain it is what proves that the domain is yours.
One record, if your DNS provider can point a root domain at a name. Providers call this CNAME flattening, ALIAS or ANAME. The dashboard lists the record first, with the type CNAME, the name @ and a name made for your domain as its value. Create it as the record your provider has for this: a CNAME on the root domain where the provider flattens it, otherwise its ALIAS or ANAME record with the same name and value.
This is the better way. The record never needs changing: it follows by itself when an address of the platform changes.
Two address records, at every other provider. An A and an AAAA record with the name @. They are shown once the domain is added. They hold addresses, which may change one day, and then you change both records at your provider.
A domain that is live with the two address records can be changed to the one record at any time. It stays reachable through the change.
Behind a proxy or CDN of your own
Section titled “Behind a proxy or CDN of your own”A domain can go through a proxy or a CDN that you run in front of it. Three things make it work:
- Add the optional record. Among the records of the domain, the dashboard lists one more
CNAMErecord under Optional. Its name starts with_acme-challenge. It proves that the domain is yours, so the certificate can be issued while the proxy stands in front. - Keep that record DNS only. It must not go through the proxy itself. The domain stays behind the proxy.
- Have the proxy reach the app over HTTPS. Many proxies call this SSL mode Full (strict).
The domain then becomes Verified and its certificate Active by itself, as it does without a proxy: with the optional record in place, both within a minute in our test.
With the proxy switched on from the start, the optional record is the only way: the hostname then answers with the proxy’s addresses, so without that record the domain stays at Waiting for DNS. A domain added with the proxy off and put behind it later needs nothing more, since its certificate exists already; the record keeps the renewals safe all the same, so add it.
A root domain works the same way. Use the one record for it, with the proxy switched on for that record.
Behind your proxy, the address that connects to the platform is the proxy’s. Behind the most widely used proxy, the platform reads the visitor’s address from the header that proxy sets, and X-Real-IP holds the visitor’s address: nothing to change in your code. This starts once the domain’s check has seen the domain behind that proxy: after you switch the proxy on, choose Check again in the domain’s row, or wait up to an hour. On the platform URL, X-Real-IP is always the address that connected. Behind any other proxy, X-Real-IP holds one of your proxy’s addresses. How to find the visitor’s address then: The visitor’s address.
WebSockets work through a proxy without a setting; most proxies close an idle socket after a while, so send a heartbeat. A proxy brings limits of its own too, on the size of a request body and on how long it waits for an answer, and it may cache or change responses as it is set up to. Those are the proxy’s, not ours.
Without a proxy of your own you do not need the optional record. With one and without the record, the domain stays at Waiting for DNS.
What a domain costs
Section titled “What a domain costs”The platform URL costs nothing. Domains of your own come with a plan: during the trial, adding one says “Custom domains come with a plan. Choose one to add a domain.” The first domain of your own on each app is free. Each further one costs $0.15 a month, counted by the second while it is connected. The dialog for a new domain shows the price before you add it, and the list of domains shows what each one costs. See Billing.
There is nothing to set up. Each domain gets a certificate once its DNS records are in place, and the certificate is renewed for you. Requests over plain HTTP are sent to HTTPS.
The primary domain
Section titled “The primary domain”One domain is the primary one. Choose Make primary to change it. If your code reads an APP_URL variable, change it under Settings, Variables too: the platform does not set it.
Once a domain of your own is primary, the platform URL and every other domain send visitors on to it, with the same path: a visitor of www.example.com lands on example.com. The row of such a domain says “Redirects to” the primary one. To have a domain answer by itself instead, choose Serve the app directly in its row; Redirect to primary turns it back.
Remove a domain
Section titled “Remove a domain”Choose Remove domain. Traffic to that hostname stops reaching the app. Then delete your A/AAAA or CNAME records for it at your DNS provider, so they no longer lead to us: the dialog says so, and so does the message once the domain is removed. This matters most for an A and an AAAA record: left behind, they keep pointing at an address.
A verified domain stays held for your team for 30 days after it is removed. Your team can add it again at once, to any of its apps; another team is refused with “This hostname was removed from an app a short while ago and is held for 30 days. If the domain is yours, try again later or contact support.” A domain that was never verified is not held.
Do not remove a live domain to have it checked again: choose Check again. A domain that is removed and added again gets the same records back, but it can be unreachable for some minutes.
What does not work
Section titled “What does not work”- Wildcards.
*.example.comcannot be added. Add each hostname by itself. - A domain that is in use elsewhere. A hostname can belong to one app only.
- A domain another team removed in the last 30 days. It is held for that team, see Remove a domain.
- An ending many domains share.
co.ukby itself is not a domain of your own. Add a name you registered under it, such asexample.co.uk. - A hostname of the platform. A name under the platform’s own domain is refused. Use a domain you own.
- Letters outside plain ASCII. Enter the
xn--form of the hostname.
© 2026 Orbit