HTTP (web) servers have the possibility to handle two different host names (site1.example.com
and site2.example.com
) which both point to the same IP and port. This is because the protocol embarks the name of the target server (as part of the URI) which in turns makes it possible for the server to know which name was queried. It is then possible to reverse-proxy these calls to other servers, which are unknown to the orignaloriginal caller.
This is very practical when one has one IP and wants to use several server names.
Is such a setup possible for Minecraft servers? By "setup" I mean a server that understands which server was queried and is able to redirect such call to another server. I could then have, with one IP, the traffic for the names 1.9.example.com
and 1.10.example.com
redirected to internal servers.
The alternate solution is of course to use different ports , but I would like to keep the default ones.