TL;DR:
DNS resolution of a domain(s) must map to IP:port(s)
, instead of just IP
.
Example,
sub1.example.com
?? 1.2.3.4:567
sub2.example.com
?? 1.2.3.4:678
I CAN modify DNS records.
I own the domain "Arboristal.com". I also own all sub domains privately on arboristal.com. Such as lg.arboristal or ft.arboristal.com.
Under my DNS settings, Arboristal.com is set to go to our web host who is currently hosting our website.
I have three servers running at my house all running under one public IP address. (71.82.237.27)
I also have three subdomains of Arboristal.com pointing towards my IP address.
Each of the three servers run on their own ports (25565, 25566, 25567)
I want for each subdomain to point to each open port on my IP Address.
Unfortunately when you try to connect to one of these servers using one of the subdomains it only connects to the server that you type the port for.
My situation:
Three servers, each running on a different port. (All portforwarded and working as servers)
Minecraft server one (25565)
Minecraft server two (25566)
Minecraft server three (25567)
I have three subdomains running on my DNS provider (webs.com)
mc.arboristal.com
tekkit.arboristal.com
pvp.artboristal.com
When you use Minecraft to connect to one of these it does automatically through port 25565, meaning that no matter what URL you attempt to connect to it always goes to my IP with the port 25565. Connecting you to Minecraft server one. You CAN type in the port manually, but I would rather keep this as good looking and professional as possible.
So, now that you know my situation, is there any possible way I can make mc.arboristal.com, tekkit.arboristal.com, and pvp.arboristal.com all go to my IP address under different ports without having to specify each port in the provided URL to connect to on the users end?
I can add MX, A (Using this one to connect to the server), CNAME, and TXT records to DNS settings
I can also add Name Servers to DNS settings if I need to use a third party as my DNS provider. (Am willing to do if necessary)
I also have full access to my router at 192.168.0.1 if anything needs to be configured there.
I have only just learned how the internet really functions in the last week so I am unsure if anything here is actually possible. I also may not have the right information about how the internet actually works. Please forgive me for any false information that I may assume about the internet.
See Question&Answers more detail:
os