Skip to content

DocsHelp

Domain problems

What to do when a domain stays at Waiting for DNS, when a domain behind your own proxy redirects without end, and when a page says there is no app at this address.

The state of a domain is in its row under Settings, Domains: Waiting for DNS, Verified, Active, or Failed with what is missing.

  • Compare the records at your DNS provider with the ones under Settings, Domains: type, name and value.
  • Check the name. The dashboard shows the part in front of your root domain: @ for the root domain itself, www for www.example.com. A few DNS providers want the full hostname instead.
  • For a root domain, use one of the two ways and not both: the one record, or the A and the AAAA record. The dashboard shows the one record as a CNAME on the root domain; a DNS provider without CNAME flattening has it as an ALIAS or ANAME record instead, with the same name and value. See A root domain.
  • If the domain goes through a proxy or CDN of your own, add the optional record as well and keep it DNS only. See Behind a proxy or CDN of your own.
  • DNS changes can take a while to spread. The check runs every few minutes, and Check again runs it at once.
  • For a root domain, and for a name under a domain that another team uses on the platform, the TXT record whose name starts with _platform-verify is needed as well. For any other subdomain it is needed only where the CNAME record cannot be seen. See Add a domain you own.
  • After a day without its records the domain is marked Failed and says what is missing. Create the records, then choose Check again.
  • After 7 days without its records the domain is removed and the team gets the notification Domain removed. Add it again once you can create the records. See Waiting for its records.

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.

The dialog says What to do
Enter a hostname like app.example.com. The text is not a hostname: a full address with https:// or a path, a wildcard, or letters outside plain ASCII. Enter the hostname alone, in its xn-- form if it has accents or other scripts
This hostname is already attached to an app. It is in use on an app, yours or another team’s. Remove it there first, or contact support if the domain is yours
This hostname belongs to the platform. Use a domain you own. Names under the platform’s own domain cannot be added. Use the platform URL, or a domain you own
This is an ending many domains share, not a domain of your own. Enter a hostname like app.example.com. Add a name you registered under it, such as example.co.uk
Custom domains come with a plan. Choose one to add a domain. Domains of your own are not part of the trial. Choose a plan under Billing
This app already waits for the DNS records of 5 domains. Finish or remove one of them before adding another. Create the records of a waiting domain, or remove one, under Settings, Domains
Your team already waits for the DNS records of 10 domains across its apps. Finish or remove one of them before adding another. The same, on any app of the team
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. Another team removed it less than 30 days ago. Wait, or contact support if the domain is yours

A domain behind your own proxy redirects without end

Section titled “A domain behind your own proxy redirects without end”

The browser says “too many redirects”. The proxy reaches the app over plain HTTP, and the app sends every plain request to HTTPS. Set the proxy to reach the app over HTTPS: the SSL mode often called Full (strict). See Behind a proxy or CDN of your own.

The dashboard notices this by itself once the domain is live. Its row under Settings, Domains then says “Visitors of this domain are sent in a circle” and keeps its Check again button. Choose it after you changed the mode, and the notice goes away.

The request used a hostname the app does not know.

  • A domain of yours. Add it under Settings, Domains and wait until it is verified.
  • A domain that became active a moment ago. For some seconds after a domain turns Active, it can still show this page. Wait a minute and load it again. There is nothing to fix.
  • The platform URL. It is switched off. Switch it on under Settings, Domains, or use your own domain.

Visitors land on another domain of the app

Section titled “Visitors land on another domain of the app”

Once a domain of your own is primary, the platform URL and the other domains send visitors on to it. To have a domain answer by itself, choose Serve the app directly in its row. See The primary domain.