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 differentiate between them the user must use
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
Is this what a DNS is for?