Configuring Forced Hosts for Subdomain Routing | NodeFlux.eu Docs
Route players connecting via different subdomains (e.g., play.domain.com vs pvp.domain.com) to specific backend servers.
Steps
- Ensure your custom domain DNS has CNAME or A records pointing subdomains to your proxy IP.
- Open your proxy configuration file (velocity.toml or BungeeCord config.yml).
- Locate the forced-hosts section.
- Map subdomains to backend server names: "pvp.mynetwork.com" = ["pvp-server"].
- Map default domain: "play.mynetwork.com" = ["lobby-server"].
- Save configuration and reload proxy settings.
- Test joining with different subdomains to verify automatic server routing.
Notes
- Forced hosts allow creating distinct community entry points without needing multiple proxy instances.
- Subdomain casing in proxy configuration should be lowercase.
Related NodeFlux pages
- Setting up BungeeCord IP Forwarding and Firewall Rules — Configure BungeeCord proxy routing, IP forwarding, and secure backend servers against direct player bypassing.
- Synchronizing Permissions and Chat Across Minecraft Networks — Connect multiple backend servers with network-wide chat synchronization and LuckPerms messaging.
- Configuring Velocity Proxies with Modern Player Forwarding — Set up Velocity, the modern high-performance proxy for Minecraft, with modern secret key forwarding.