I have a [game] server (CentOS) that has about 10 used ports. For one game in particular, I have 2 servers: a private one and a public one. The IP for them is the same, so to differentuate between them the user must use mydomain.com:[portnumber]. Is there a way that I can configure CentOS to automatically take something like subdomain.mydomain.com and transform it to mydomain.com:[portnumber] or simple localhost:[portnumber]? Is this what a DNS is for?