FlevasGR
By:
FlevasGR

Subdomain redirect to an other ip/port

November 13, 2014 6.2k views

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?

4 comments
Be the first one to answer this question.