Websites2 minutes to readChecked

Fix a custom domain that is waiting for HTTPS verification

Compare DNS answers with the records in Bothosting, distinguish a pending certificate from a proof mismatch, and test the custom HTTPS address.

Open the same page on the platform address first

If a newly added custom domain fails, start with the HTTPS address in Settings → HTTP domains. Open a page or API route you expect to work. If the platform address fails too, check the build, deployment state and incoming port in Console before changing the custom domain’s DNS.

Keep the working platform address open while you troubleshoot. The custom address will serve the same deployment once DNS ownership and HTTPS are verified. Initial hostname setup.

Compare the published CNAME and TXT answers

Use the exact hostname, CNAME target and TXT name shown when you added the custom domain. Set APP_HOST to the hostname and PROOF_NAME to the full TXT record name. You can check DNS with dig or use a public DNS lookup tool for the same record types.

Read the public DNS answers
dig +short CNAME "$APP_HOST"
dig +short TXT "$PROOF_NAME"
  • If the CNAME answer is empty, check the name and record type. For a Cloudflare-managed record, use DNS only so Bothosting can read the CNAME target. Cloudflare DNS proxy settings.
  • If the TXT answer is missing, check how the DNS editor appends the zone name. The editor may already add example.com to the name you enter.
  • If you corrected the record and still see the old answer, compare a query to an authoritative server for your zone with the recursive answer. The old answer may remain cached until its TTL expires.

The TXT value is shown once. If you lost it, remove the pending hostname and add it again to get a fresh proof. Replace the old TXT value with the new one.

Recheck the certificate and test the custom hostname

When both DNS records match, select Check DNS. If the dashboard displays Waiting for HTTPS certificate, leave the records in place and check again after the certificate has had time to issue. A DNS proof mismatch calls for another look at the records. Recreating an otherwise correct registration creates another proof to publish.

After the hostname is verified, make a normal HTTPS GET on the custom address and open the same route in a browser. Check that the certificate is accepted and that the expected content appears. If the request reaches the app but sign-in fails, compare the registered callback URL and app variables with the new hostname. Verify HTTPS and update callbacks.