Multiple Minecraft Servers on Different Subdomain and Port

The following things I have only learned by my self, by reading forums, stack overflow pages and testing myself. So this will be all over the place and I'm not sure what I am doing all of the time. Sorry about that.

I have been searching for an answer how to setup my server now for to long. I know this has been answered here somewhere but I can't seem to find the answer to my specific situation.

So here is the setup. I have a dedicated server that is hosting multiple minecraft servers on it. I am using NO-IP to setup ddns so I can use example.ddns.net:25525 and example.ddns.net to connect to my different server.

But I don't want to use ports when connecting to my server, I want to use mc.example.ddns.net and creative.example.ddns.net so it is easier.

I can do this with my webserver using wildcard in no-ip and virtualhosts. so oceanman.example.ddns.net directs to one website and example.ddns.net directs to another. This is exactly what I want for my minecraft servers aswell. I know that this is a bit different tho since it all happens on the same port for apache.

Minecraft can also use SRV records as shown in . But for some reason you can't use subdomain on no-ip to direct what port you want. Hostname can't be changed so only FQDN works.

So what I want is: mc.example.ddns.net -> example.ddns.net:25525 creative.example.ddns.net -> example.ddns.net:25535 But both of them is listening to port 25565 which is the default port for minecraft, and being redirected to their specific port using the domain name.

I am now asking. What is the best way to go about this? I have been looking into how dns and proxys work to maybe help solve this but atm, I am very lost.

Please send help,
Zintriz

1
Maya Lin-Takahashi

Maya Lin-Takahashi

Consumer Tech & Gadget Reviewer

Maya is a hardware enthusiast who tests and reviews smart home devices, smartphones, wearables, and audio gear. She focuses on practical consumer value and build quality.

Share this article