Point a custom domain/subdomain
Attach your own domain or subdomain to a Victus App Hosting server by creating the right DNS records that point at the server IP and port shown in the panel.
Your app is reachable on the raw IP and port from the Network tab, but visitors want a real name like app.yourdomain.com. You do this in your domain registrar / DNS provider (Cloudflare, Namecheap, GoDaddy, etc.) by creating a record that resolves to your Victus server IP.
Find your server IP and port
- 1Open your server in the control panel and go to the Network tab.
- 2Note the primary public IPv4 address and the allocated port.
Create the DNS record
| Goal | Record type | Name | Value |
|---|---|---|---|
| Root domain (yourdomain.com) | A | @ | Your server IPv4 |
| Subdomain (app.yourdomain.com) | A | app | Your server IPv4 |
| Alias to another hostname | CNAME | app | target.hostname |
DNS points at the IP, not the port
DNS can only resolve a name to an IP address — it cannot include a port. If your app runs on a non-standard port you either browse to app.yourdomain.com:PORT, or put a reverse proxy in front that listens on 80/443 and forwards to your app port.
Serve on 80/443 without a port
- Cloudflare (proxied, orange cloud): terminates on 443 for you and can map to a custom origin port via configuration — the visitor never sees the port.
- A reverse proxy (Nginx) listening on 80/443 that proxy_passes to http://127.0.0.1:YOUR_PORT.
- If you also run a Victus VPS, you can host the reverse proxy there and forward to the app.
Propagation takes time
New or changed DNS records can take from a few minutes up to a couple of hours to propagate. If the name does not resolve yet, wait and re-check with a DNS lookup tool before assuming something is misconfigured.
Next: turn on HTTPS
Once the domain resolves to your server, secure it with a certificate — see "Enable SSL/HTTPS".