Connect your own domain
Updated: 15 November 2026
Every public service is reachable at https://<service>-<project>.apps.helfinity.cloud. It can also run under your own domain, such as app.example.de or example.de. The platform gets the certificate itself (Let's Encrypt) and renews it by itself. Custom domains are included in the price. How many an account can have is listed under limits.
Short version for the agent
- Put the domain in the contract:
"domains": { "custom": ["app.example.de"] }on the service (the service must be public). plan_deployment: the warningDOMAIN_DNS_PENDINGnames the DNS records. New domains also need the rightdomains:writeon the connection, which no connection gets by itself: turn it on for the connection in the portal under Agents › Connections (otherwiseAUTH_INSUFFICIENT_SCOPE).apply_deployment. The service stays reachable at its default address.- Tell the person the records; they set them at their domain's DNS provider (or the agent does, if it has access there).
- Call
get_domain_statuswithprojectandhostname: this triggers a check. Call it again after about 10 seconds untilstatusisactive. check_servicechecks that the app answers.
The DNS records
Every domain needs two records. The plan and get_domain_status give the exact values under dns_records.
| Record | Name | Value | Purpose |
|---|---|---|---|
| TXT | _helfinity.<domain> | helfinity-verify=<token> | Shows that the domain belongs to this account. The token belongs to your account and this domain and stays the same. The record must stay in place. |
| CNAME | <domain> (subdomain such as app.example.de) | edge.helfinity.cloud | Sends the requests to the edge. There must be no other records for this name. |
| A | <domain> (domain without subdomain such as example.de) | the fixed IPs of the edges (in the plan, one record per edge) | Like CNAME, for the apex domain, which cannot have a CNAME. Best use ALIAS, ANAME or CNAME flattening to edge.helfinity.cloud if your DNS provider supports it. |
Failure of an edge: the platform has two edges at two sites. edge.helfinity.cloud always points to the edges that are answering; if one fails, it is out of the name within a few minutes. A CNAME, ALIAS or ANAME to it therefore switches over by itself. With A records, both addresses are fixed in your DNS: if one edge is unreachable, browsers try the other address, which can take a few seconds on the first request. With only one A record the domain is gone while that edge is down. Older domains with one A record keep working; you can add the second record from get_domain_status at any time.
Watch out for:
- No AAAA record for the domain: the edge has no IPv6. If there is one, Let's Encrypt checks there and fails (
DOMAIN_AAAA_PRESENT). - CAA: if there are CAA records, one must allow Let's Encrypt:
0 issue "letsencrypt.org"(otherwiseDOMAIN_CAA_BLOCKS). - No proxy in front: a CDN or proxy in front of the domain (e.g. the "orange cloud") intercepts Let's Encrypt's check. Turn it off for the domain.
- Moving from another provider: DNS resolvers remember the old address until its TTL runs out (often an hour, sometimes up to a day). Before every order the platform fetches a check address over public DNS, like Let's Encrypt does. If it still lands on the old server, the platform orders nothing, shows in
checks(typeHTTP) anderrorwhich address answered with what, and tries again every 10 minutes. Lowering the TTL of the old record before the move makes it faster. That is whywww.example.decan already beactivewhileexample.destill showscert_failed: the apex record was cached longer at the old provider, or a proxy (such as a CDN with "proxy on") answers the check address. Do nothing except turn off the proxy; the platform tries again by itself. wwwand withoutwwware two domains. Put both in the list if both should work.
The states
status | Meaning | What to do |
|---|---|---|
pending_dns | TXT or forwarding is missing or wrong; checks shows what was found | Set the records, get_domain_status |
verifying | The records are right, the certificate is being issued | Wait, usually under a minute |
active | Domain and certificate active | Nothing |
cert_failed | Issuing or renewal failed; error gives the answer from Let's Encrypt or from the platform's own pre-check (address, HTTP status, server). A still valid certificate stays active | Fix the cause; the platform tries again after a pause |
dns_lost | Was active, but the records are missing now. The forwarding stays for 7 days, then pending_dns | Restore the records |
claimed | Another account uses the domain | See below |
The platform checks automatically: every minute in the first hour, then every 15 minutes, hourly after 7 days. It checks active domains daily. get_project shows the domains per service under domains; the portal shows them under Projects › Services with their state, the DNS records needed (to copy) and the error, and reports problems as a notice (DOMAIN_DNS_PENDING, DOMAIN_CERT_FAILED, DOMAIN_DNS_LOST, DOMAIN_CLAIMED).
Domain at another account
A domain always belongs to one account only. Whoever manages the DNS zone decides: if your account's TXT record is in place and the other account's is removed, the domain moves to you at the next check. The other account sees this in its activity log. A forgotten CNAME to our edge is therefore not enough for anyone to take over your domain.
Remove a domain
Take the domain out of domains.custom and roll out. If it is active, an agent's apply_deployment needs an approval in the portal for this (APPROVAL_REQUIRED), because the address is no longer reachable afterwards. If the domain comes back within 30 days, the old TXT record still applies and the certificate is reused while it is valid. Then delete the DNS records at the provider.
Sign-in in front of the app
access: account also applies on your domain: visitors sign in with their passkey in the portal and come back. The sign-in cookie applies to exactly this hostname only, not to the default address and not to other subdomains. Anyone using both addresses signs in once per address (one click while the portal session lasts). For a public website set "access": "public".
What does not work (yet)
- Platform addresses (
*.helfinity.cloud,*.helfinity.deand the default addresses underapps.helfinity.cloud) as a custom domain: the plan blocks withDOMAIN_INVALID. Every app has its default address anyway; further names under the platform domain are assigned only by the operator, not by the contract. - Wildcard domains (
*.example.de). - Uploading your own certificates.
- IPv6 (AAAA) at the edge.
- Automatic redirect from
wwwto the domain withoutwww; the app can do that itself.