Subdomain redirect to an other ip/port
Hello, i want to redirect a subdomain (ex. server1.mydomain.com) to an other ip/port
server1.mydomain.com => 85.xxx.xx.xxx:6064
server2.mydomain.com => 41.xxx.xx.xxx:25565
I have full permission to the first domain.
My server is running Ubuntu 14 and it would be awesome if i could do that from the DNS records.
How can i achieve that?