Skip to content
CitexNode
All guides

Domains and variables

Connect a custom domain, set the DNS record, and use environment variables for keys and settings.

2 min read

Connecting a custom domain

  1. In the project, open the Domains tab, enter the name under Add domain, for example www.yourdomain.com, and click Add.
  2. The dashboard shows the DNS record you need to set, with Type, Name and Value:
    • for a subdomain such as www, a CNAME to <short-name>.citexnode.de,
    • for the domain itself (yourdomain.com), an A record to the address shown.
  3. Click Check. As soon as the record resolves, the domain becomes Active. We get the certificate ourselves (Let's Encrypt).

If the domain is with us, set the record in the DNS editor. It can take up to an hour until a new record has arrived everywhere. Until then the domain shows Waiting for DNS; Check again tests once more.

If the record runs through the Cloudflare proxy (orange cloud), tick "Record runs through the Cloudflare proxy" in the dashboard. It then also shows you a TXT record as proof, which you create as well.

How many custom domains a project may have depends on the plan. Names under citexnode.de cannot be added as custom domains; we assign those.

Environment variables

In the Variables tab, under Environment variables, you add keys and values your app reads at runtime, for example API keys or APP_ENV=production. Names consist of letters, digits and _ and do not start with a digit. We store the values encrypted. After saving, the dashboard only shows a shortened version.

  • Applies to: Everywhere, Production only or Preview only.
  • The dashboard collects your changes until you click Save. They apply from the next build or Rebuild.
  • For Next.js: variables starting with NEXT_PUBLIC_ are written into the code at build time and are visible in the browser. Secrets do not belong there.

We set the PORT variable ourselves. Your app has to listen on that port.