Subdomains for each server
How to give each server in the network its own address: virtual host on the proxy, DNS records, and connecting directly to the desired server.
Updated August 13, 2026
In a network, you can make survival.example.ru lead straight to survival and mini.example.ru to minigames, bypassing the lobby.
How it works
When connecting, the client sends the hostname it used. The proxy reads it and sends the player to the matching server.
Velocity:
[forced-hosts]
"survival.example.ru" = ["survival"]
"mini.example.ru" = ["minigames"]
DNS
Each subdomain needs records: an A record pointing to the entry address and an SRV record pointing to the port — SRV record. The records are identical; only the name differs.
Why you'd want this
- Advertising addresses for a specific mode.
- Separate addresses for a test server.
- Sending players straight into the game without an extra click.
Watch out for an external proxy
If your network is connected to someone else's Velocity, it passes its own vhost, not the player's address. With a wrong setup this produces "Server not found" — use the host address issued by the panel, not an arbitrary one — Your own external proxy.
Checking
Join through each address and make sure you land on the right server: /server shows the current one.
