Public address and hostnames for apps
People reach your realm at one address, such as https://cloud.example.se/. On a server with a single public IP address, as most VPSs have, the realm and the apps you give hostnames share ports 80 and 443 on it.
One address for the realm and its apps
The edge’s ingress holds ports 80 and 443, TCP and UDP. It answers your apps’ hostnames itself, over HTTP/3 too, and hands the realm’s own hostname on, unopened, to the part of the edge that serves the realm, so the realm’s sign-in and sessions never pass through the code that serves apps. The web client’s fastest connection, WebTransport, comes on UDP 443 too, beside HTTP/3: no other port needs to be open.
Without UDP 443, browsers still connect over TCP, a moment slower: the client falls back to WebSocket after 1.5 seconds.
- Point the realm’s hostname, and each app’s hostnames, at the same address in DNS.
- Give the realm its certificate in Manager › Certificate. Ports 80 and 443 now pass through ingress, and HTTP-01 still works.
Hostnames for an app
An app reached by name needs a domain its owner has proved.
- Prove the domain. Add it under Domains, in your account or on your organisation’s page. Velrix gives you a TXT record to publish at
_velrix.<domain>. Once it is there, the domain is verified for you or your organisation, and nobody else can use it. A domain registered or hosted through Velrix counts as verified (Domains and DNS). - Give the app its names. In the app’s Hostnames, or in the create form, enter the names (the domain or names under it, up to ten) and the container port they go to. Add a health path if the app has one, and warm paths if its first render is slow (Edge cache, admission and warming).
- Certificates come by themselves once the names point at the realm. Until a name has one, it is served over plain HTTP; after, HTTP is redirected to HTTPS. A name that does not point here yet says Waiting for DNS to point here, and its certificate is ordered as soon as it does.
Requests are spread over the app’s running copies that answer their health check. HTTP/3, HTTP/2, HTTP/1.1 and WebSocket all work. Hostnames shows each name’s HTTPS record: set it in DNS, and browsers use HTTP/3 from their first visit. Redirect names and Velrix Access, the realm’s sign-in in front of an app, are in Apps.
Velrix checks each verified domain’s TXT record again every six hours. If it is gone, the owner is told at once, and the names are served for seven more days before they stop.
The registry and MCP
Neither has a port of its own: the edge relays them over the realm’s HTTPS address, so an API key or a registry password only ever crosses the network inside TLS.
| Address | |
|---|---|
| Image registry | <realm>/v2/, so images are named <realm>/u-<you>/<name>:<tag> (Registry) |
| MCP for AI agents | https://<realm>/mcp |
While the realm uses the certificate it made for itself, the registry’s tlsVerify setting is false, and the Registry window shows --tls-verify=false in its commands. Once Manager › Certificate has a certificate from a CA, set settings.registry.tlsVerify to true in deploy.json and run velrix up on each server.
Apps never publish a port on a server. For other ports, floating IP addresses and load balancers go through the realm’s gateways, which an operator sets under Networks › Gateways. Gateways work over IPv4 only: on servers with IPv6 alone there are no floating IP addresses or load balancers yet.