Skip to main content

Set up your domains

Your customers reach the platform under your own addresses. This page covers how to point each one to the platform, how the platform verifies it, what every status on the screen means and what changes when a domain is replaced.

Everything here happens in the Domains tab of Platform Console → Branding. The tab only shows up with the tenant:domain:manage permission (see Permissions).

The card lists the four domains, each with its status and its current address, which opens in a new tab:

StatusMeaning
LiveThe domain is in use. Change requests another one.
VerifyingA new domain is being checked. The row shows the old and the new address and the verification steps: DNS, HTTPS certificate and Goes live.
Not setThe tenant has no domain of that kind. Set up requests one.

The four domains​

DomainExampleWhat it servesRequired
Consolecloud.yourcompany.comThe console your customers sign in to, and the sign-in page with your brand.Yes
APIapi.yourcompany.comThe API, for integrations that use API keys.No
Docsdocs.yourcompany.comThe documentation for your customers, with your brand. The Learn more links in the console open it.No
Org docsorg.docs.yourcompany.comThe documentation for your own team: white label and administration.No

The console does not need the API domain: it talks to the platform under its own address. Set up the API domain only if you or your customers call the API directly.

Rules for the names​

  • Only the host name: cloud.yourcompany.com. No https://, no path, no port, no *.
  • It has to be a real public name, under a public suffix such as .com or .com.br. Internal names like portal.local and IP addresses are refused.
  • The docs domain must start with docs. and the org docs domain with org.docs.. That prefix is how the platform tells a documentation site from a console, so a name like help.yourcompany.com is refused for docs.
  • The console domain can't start with docs. or org.docs., or visitors would get the documentation instead of the console.
  • A domain belongs to a single tenant, in a single role: the same name can't be your console and your API.
  • The platform's own addresses, and any name under them, can't be requested as a new domain.

Upper case and a final dot are fixed for you: Cloud.YourCompany.com. becomes cloud.yourcompany.com. Type an international name in its xn-- form, as your DNS provider shows it.

Point the DNS​

Each domain needs a record at your DNS provider that points it to the platform. The card shows the exact values for your installation, with a copy button for each one, both in the change dialog (as you type the new domain) and while the change is being checked.

A CNAME makes the new domain an alias of one of your domains that is already live on the platform. If the platform ever moves to another IP, your domain follows on its own.

TypeNameValue
CNAMEdocs.yourcompany.comyour current console, such as cloud.yourcompany.com
CNAMEorg.docs.yourcompany.comyour current console
CNAMEportal.yourcompany.com (a new console)your current console
CNAMEapi.yourcompany.comyour current API

Docs, org docs and a new console point to the current console; the API points to the current API. While you have no API domain, the card shows the platform's address instead. A CNAME that already points to the platform's address still counts.

When you change the console domain, whatever points to the old console depends on its DNS record. If you delete that record, the docs that point to it go offline until you point them to the new console.

A records: only where a CNAME isn't allowed​

The root of a zone (yourcompany.com, with nothing before it) can't have a CNAME. There, create one A record for each address the card lists for that target. The check passes only when every address your domain resolves to is one of them.

Providers that offer ALIAS, ANAME or "CNAME flattening" (Cloudflare, Route 53 and others) work too: they answer with the same addresses as the target.

If the card shows no record, your installation has no DNS target configured. Ask support for the address to point to; the change still works, and the HTTPS check alone decides.

Before you create the record​

  • Remove the old records of the same name. An A, AAAA or CNAME left over from a previous host makes the domain resolve to two places, and the check fails.
  • Remove AAAA records that point elsewhere. The certificate authority tries IPv6 first; an AAAA that doesn't lead to the platform makes the certificate fail even when the A record is right.
  • Turn off proxies. On Cloudflare, set the record to DNS only (grey cloud). A proxied record resolves to Cloudflare's addresses, and the platform can't issue the certificate behind it.
  • Check CAA records. If your zone has CAA records, one of them has to allow Let's Encrypt: 0 issue "letsencrypt.org". Without it, the certificate is refused.
  • Lower the TTL of a record you are about to change, a few hours before, so the new value spreads faster.

Request a change​

  1. Open Platform Console → Branding and open the Domains tab.
  2. Click Change on the domain you want, or Set up on one you don't have yet.
  3. Type the new domain. The dialog checks the name as you type and shows the DNS records to create for it.
  4. Read the warning, tick the confirmation and click Request change.
  5. Create the DNS records at your provider, if you haven't yet. You can create them before or after the request.

The domain now shows Verifying, and the current one keeps working until the new one passes every check.

How the verification works​

The platform runs two checks, in order, and only runs the second when the first passes. The card shows them as three steps: DNS, HTTPS certificate and Goes live.

  1. DNS. The platform asks public DNS servers (Cloudflare's and Google's, or the ones configured for your installation) where your domain points. It follows the chain of CNAMEs and compares the result with the card's target and with the platform's address: the chain has to reach one of them, or every address has to be one of theirs.
  2. HTTPS certificate. Once the DNS points to the platform, the platform's edge is allowed to request a certificate for your domain from Let's Encrypt. Let's Encrypt validates it by reaching your domain over the internet, which only works because the DNS now leads to the platform. The certificate is requested the first time the platform calls your new domain over HTTPS, the same way a browser would. In that call the platform asks your domain to repeat a one-time code that only the platform knows. The code is created with the request, is never shown on the screen and stops working when the request ends. If the call arrives at the platform with a valid certificate and comes back with the right code, the domain is proven to be yours and to reach the platform. Any other server at that address, even one with a valid certificate of its own, can't answer with that code.
  3. Goes live. When the HTTPS check passes, the new domain replaces the current one right away, in the same check.

When it checks​

Since the requestThe platform checks
First 15 minutesEvery minute
Up to 2 hoursEvery 5 minutes
After thatEvery 15 minutes

Check now runs the checks right away, once every 30 seconds. A request that doesn't pass within 72 hours expires; request it again once the DNS is ready.

With the DNS already right, the whole process usually takes one or two minutes: the first HTTPS check often finds the certificate still being issued, and the next one passes.

What the card shows​

While a change is being checked, the card shows each check with its last result, the DNS records to create, when it last checked, when it checks again and when the request expires.

CheckMessageWhat it meansWhat to do
DNSNot checked yet.The first check hasn't run.Wait a moment, or click Check now.
DNSNo DNS record found yet.The domain doesn't resolve: the record doesn't exist, or hasn't spread yet.Create the record. If you just did, wait for the TTL.
DNSPoints to X, not to target.The domain resolves, but somewhere else. X is where it points today.Fix the record. Look for leftover A/AAAA records, a proxy, or a typo in the target.
DNSCouldn't query DNS. We'll try again.The DNS servers didn't answer this time.Nothing: the next check tries again. If it persists, check your provider's status.
DNSPoints to us.The DNS is right.Nothing.
DNSResolves. The HTTPS check confirms it reaches us.No DNS target is configured, so the DNS only has to resolve.Make sure it points to the address support gave you.
HTTPS certificateWaits for the DNS.The certificate is only requested after the DNS passes.Fix the DNS first.
HTTPS certificateCertificate not issued yet.The certificate is being issued, or was refused.On the first try, wait for the next check. If it stays, look at AAAA and CAA records and proxies.
HTTPS certificateCouldn't reach the domain yet.The call didn't get through: timeout or connection refused.Check that nothing between the internet and the platform blocks the domain.
HTTPS certificateThe domain answered, but not from us.Something answered at that address, but not the platform.The domain points to another server or proxy. Fix the DNS.
HTTPS certificateCertificate issued and answering.Everything passed; the change is being applied.Nothing.

The card also shows the last error in technical terms, which helps when you ask support for help.

When the new domain takes over​

The new domain replaces the current one as soon as it is verified, and the card shows Changed from old to new. From then on the old address stops working, with no redirect:

DomainWhat changes
ConsoleEveryone signs in again at the new address. Invitation links sent before the change stop working: send them again. Bookmarks and links to the old address stop working. If the Branding page is open when the change goes through, the card shows Your console moved to new. Sign in at the new address., with a link to the sign-in page at the new address.
APIIntegrations that call the old address stop working until they use the new one. API keys stay valid: only the address changes.
Docs and org docsLinks to the old address stop working. The Learn more links in the console follow the new address on their own.

Plan the change of the console domain for a quiet moment, and tell your customers the new address beforehand.

To keep the old address alive as a redirect, point its DNS to a service of yours that redirects to the new one, after the change.

Cancel, expire or fail​

  • Cancel change stops checking a request. The current domain stays as it is, and the card shows The change to domain was cancelled.
  • A request that isn't verified in 72 hours expires: The change to domain expired before it was verified., followed by the last error when the last check had one.
  • A request fails if, at the moment of the switch, the domain was taken by someone else: The change to domain failed: The domain is already in use.

In every case, you can request again.

Rules and limits​

  • One request at a time per domain: cancel the one being checked to request another. Requests for different domains (console and API, for example) can run at the same time.
  • Up to 10 requests per tenant in 24 hours.
  • A domain in use by any tenant, in any role, or waiting for verification in another tenant or for another of your domains, can't be requested.
  • Check now works once every 30 seconds.

Permissions​

PermissionWhat it allowsLevel
tenant:domain:manageSee the Domains tab, request, check and cancel domain changes. It requires tenant:branding:manage, because the tab lives on the Branding page.High

Grant it at tenant scope (see IAM at tenant level): a grant held at customer or VDC level doesn't open the card. Every request, cancellation and switch is recorded in the IAM history as Domain change requested, Domain change cancelled and Domain changed, with the old and the new address.

Security​

  • Nobody can take a domain that is in use, or that another tenant is already verifying.
  • A free domain is verified for whoever requests it while its DNS points to the platform. When you stop using a domain, remove its DNS record, so it can't be claimed by someone else.
  • The platform only requests a certificate for a domain that is in use or whose DNS already points to the platform, so a typo never burns the certificate authority's limits.

Certificates​

There is nothing to buy or upload. The certificate of each domain is issued by Let's Encrypt during the verification and renewed automatically before it expires.

This needs the platform's edge to be reachable from the internet, because that is how Let's Encrypt validates the domain. If your domains are not reachable from the internet on ports 80 and 443, the automatic certificate doesn't work: upload your own, as described in Use your own certificate on a private network.

Questions​

Can I keep both the old and the new domain? No. A tenant has one domain per role, and the old one stops when the new one takes over.

Can I change the console and the API at the same time? Yes. Each domain has its own request, and they are verified independently.

The DNS is right, but the certificate never comes. Look for an AAAA record pointing elsewhere, a CAA record that doesn't allow Let's Encrypt, or a proxy in front of the domain. The last error in the card usually says which.

Does the platform show my brand on the new domain right away? Yes. The brand belongs to the tenant, not to the address: the sign-in page on the new domain shows it from the first visit.