I've been running a small game server for a while and want to set up a second one on the same server. The issue is that these servers don't support domain names; if a request comes in on the right port (22565)it doesn't matter what domain was being visited unlike say apache with its vhosts).
So my only option is to setup one game server on the default port (25565), and the other on another port (25564).
So to my question: is it possible to remap a port (in this case 25565 to 25564) if it comes in from a specific domain? (I have two subdomains both pointing to my server: mc, mcold; and would like to redirect all traffic sent to 25565 to 25564 if the user came from the subdomain mcold).
Thanks for any help,