Browse documentation

Connect an HTTPS address and verify a custom domain

Test the platform HTTPS address, connect a hostname you own, and check its HTTPS certificate.

Prove the application works at its platform address

Choose an HTTP profile on a host with domain access enabled. Bothosting provisions a platform HTTPS address on eligible Spark and paid deployments. Find the address in Settings → HTTP domains. For Node.js or Python, bind the listener to 0.0.0.0 on SERVER_PORT, then start the deployment. The ingress forwards requests to the assigned port.

Request a known route. For the Python website example, append /api/health. For the Node API example, request /. Keep this result as a control while you configure DNS.

Publish both DNS records

Use the platform address after the app starts and the platform hostname has been published. To connect your own address, use a subdomain such as app.example.com that can publish a CNAME. Keep your existing website and mail records in place.

  1. Open Settings → HTTP domains, enter the subdomain and select Add domain.
  2. Copy the TXT name, proof value and CNAME target from the confirmation page. Publish a CNAME for the subdomain pointing to that exact target. At Cloudflare, choose DNS only. Publish the TXT record at the name shown in Settings. The TXT value is shown once.
  3. Check the final record names in the DNS provider. Some providers append your zone name automatically. Return to Settings and select Check DNS after both records are visible.

The CNAME directs traffic and the TXT proves control. Keep both records in place while using the hostname. If you lose the TXT value, remove the pending hostname and add it again to get a new value.

Compare the two HTTPS responses

If Settings shows Waiting for HTTPS certificate, allow time for issuance and select Check DNS again. Once the hostname is verified, open a known path on both addresses and check that the browser accepts the certificate. If only the custom address fails, compare the DNS records with the portal. If both fail, check the deployment state and listen port in Console.

When moving a Telegram webhook, save the new full HTTPS URL ending in /telegram, restart and send the bot a private message. For a Discord dashboard, register the new /oauth/callback address in Discord and update DISCORD_REDIRECT_URI before testing sign-in. When retiring a hostname, select Remove domain and delete the two DNS records you added. The platform address remains available.

Check browser behavior

The public gateway applies a browser sandbox and filters application cookies. Service worker registration and general cookie-based sessions are blocked. The Discord dashboard starter uses two supported host-only cookies for its session and OAuth2 state. Open that dashboard on the hostname in your registered redirect URI. Test any sign-in flow, JavaScript requests and frontend storage in a browser before relying on the address.