Hello, I have a domain that I've been using as a personal website, and recently discovered subdomains. In a nutshell, I was wondering how to configure a readable address to act as the IP address + port for logging into multiplayer. (i.e. server.myserver.com is equivalent to xx.x.xxx.xxx:123)
I found that dyn.com offers this for free at http://dyn.com/dns/dyndns-free/, and it works great, but you have to use their domains and I prefer the one that I paid for. I also have a dynmap (a bukkit mod), so it would be convenient if I could set those up as map.myserver.com (acting as xx.x.xxx.xxx:321). That way it's easy to access these things.
Through my provider (GoDaddy), I've set up A-Records for the subdomains, and they point to the static IP address of my server & map. However, it won't let you specify ports, so I'm at a loss. How does dyn.com do it?
I figured this was a good a place as any to start. Can anyone assist me? Thanks a bunch. :smile.gif:
Damn good question. This is not a standard DNS function, DNS doesn't play with ports. You can do this (I think, it's been years since I worked with it) with Linux's iptables firewall. I would expect that BSD's pf would do it also. I would expect this is how DynDNS is doing it.
Is this a purchased server? Because if you're hosting it, why not run the default port?
Damn good question. This is not a standard DNS function, DNS doesn't play with ports. You can do this (I think, it's been years since I worked with it) with Linux's iptables firewall. I would expect that BSD's pf would do it also. I would expect this is how DynDNS is doing it.
Is this a purchased server? Because if you're hosting it, why not run the default port?
The server is owned by me, but I pay for website hosting and a domain. I'm using Windows if that invalidates any of your suggestions... I'm not too experienced with networking :sad.gif:
Now, someone navigating to www.respetenudillos.org is going to hit your website. Entering mc.respetenudillos.org in Minecraft will get them to your Minecraft server. No fancy port rewriting necessary.
Now, someone navigating to www.respetenudillos.org is going to hit your website. Entering mc.respetenudillos.org in Minecraft will get them to your Minecraft server. No fancy port rewriting necessary.
Am I missing something?
No, and I'll go try that right now. But where did you get the addresses for the A records? I had them point to my home IP address where the server is hosted.
No, and I'll go try that right now. But where did you get the addresses for the A records? I had them point to my home IP address where the server is hosted.
The record for Minecraft points to your home IP. The one for website points to web server.
I'm awaiting the changes to take effect, but I'm confused.
To access my server's map, you direct your browser to xx.x.xxx.xx:xxx
and to access the server (in-game), you type in the exact same thing EXCEPT it has a different port (:xxxxx).
Basically, map.domain.com and server.domain.com are going to point to the same IP address, but these two things are broadcasting on different ports.
So is GoDaddy going to automatically do something behind the scenes? Am I thinking about this too much?
So is GoDaddy going to automatically do something behind the scenes?
No, they are just going to direct traffic for map.domain.com to the IP address you specified. And they are going to direct traffic to server.domain.com to the IP address you specified, too. They don't know nor care what kind of traffic is being carried, that's not what DNS is for. It just maps a name to an address.
Either that or I still don't understand what you're trying to achieve.
You have a map, that I assume I access through a browser. If I knew your IP, I would type IP.AD.DR.ESS:8072 to access this map. And if I wanted to access your Minecraft server, I would point my client at IP.AD.DR.ESS:25565.
So, with your DNS records, I can now use my browser to go to map.domain.com:8072 to access the map, and point my client to server.domain.com:25565 to play Minecraft (I can of course leave that port number off, since it is default.)
I'm awaiting the changes to take effect, but I'm confused.
To access my server's map, you direct your browser to xx.x.xxx.xx:xxx
and to access the server (in-game), you type in the exact same thing EXCEPT it has a different port (:xxxxx).
Basically, map.domain.com and server.domain.com are going to point to the same IP address, but these two things are broadcasting on different ports.
So is GoDaddy going to automatically do something behind the scenes? Am I thinking about this too much?
map.domain.com and server.domain.com broadcast the same ports regardless. Try to connect to minecraft with just map.domain.com and it should let you in because Minecraft assumes the default port if you don't put one in.
I see. So in a browser, the port for the dynmap is always going to have to be specified?
It doesn't have to be.
Set dynmaps port to 80.
Then redirect mc.server.com to the servers IP.
Typing mc.server.com into Minecraft will take you to the Minecraft server. Putting it in in a web browser will take you to your dynmap server (web browsers default to port 80). NB: This will only work if your hosting your server and webserver on a different IP,
Rollback Post to RevisionRollBack
"Terminator like robots may one day rule the world, as long as they don't run Windows Vista"
Hello, I have a domain that I've been using as a personal website, and recently discovered subdomains. In a nutshell, I was wondering how to configure a readable address to act as the IP address + port for logging into multiplayer. (i.e. server.myserver.com is equivalent to xx.x.xxx.xxx:123)
I found that dyn.com offers this for free at http://dyn.com/dns/dyndns-free/, and it works great, but you have to use their domains and I prefer the one that I paid for. I also have a dynmap (a bukkit mod), so it would be convenient if I could set those up as map.myserver.com (acting as xx.x.xxx.xxx:321). That way it's easy to access these things.
Through my provider (GoDaddy), I've set up A-Records for the subdomains, and they point to the static IP address of my server & map. However, it won't let you specify ports, so I'm at a loss. How does dyn.com do it?
I figured this was a good a place as any to start. Can anyone assist me? Thanks a bunch.
Yeah, If you run it on your computer, why don't you just use the default port 25565? if you use 25565, you won't have to enter a port into minecraft. Now if you have a host like mcprohosting like I do, then you will have to get the dedicated IP like I had to so I could use
fightandconquer.net instead of fightandconquer.mcpro.co
I found that dyn.com offers this for free at http://dyn.com/dns/dyndns-free/, and it works great, but you have to use their domains and I prefer the one that I paid for. I also have a dynmap (a bukkit mod), so it would be convenient if I could set those up as map.myserver.com (acting as xx.x.xxx.xxx:321). That way it's easy to access these things.
Through my provider (GoDaddy), I've set up A-Records for the subdomains, and they point to the static IP address of my server & map. However, it won't let you specify ports, so I'm at a loss. How does dyn.com do it?
I figured this was a good a place as any to start. Can anyone assist me? Thanks a bunch. :smile.gif:
Damn good question. This is not a standard DNS function, DNS doesn't play with ports. You can do this (I think, it's been years since I worked with it) with Linux's iptables firewall. I would expect that BSD's pf would do it also. I would expect this is how DynDNS is doing it.
Is this a purchased server? Because if you're hosting it, why not run the default port?
The server is owned by me, but I pay for website hosting and a domain. I'm using Windows if that invalidates any of your suggestions... I'm not too experienced with networking :sad.gif:
Then I'm a little confused. Why not run it on the default Minecraft port?
Let's make an example:
You have two servers of interest:
1) Minecraft server at 123.45.67.8
2) Web server at 87.65.43.21
You also own respetenudillos.org.
So, go to GoDaddy's DNS control panel and set up A records:
Now, someone navigating to www.respetenudillos.org is going to hit your website. Entering mc.respetenudillos.org in Minecraft will get them to your Minecraft server. No fancy port rewriting necessary.
Am I missing something?
No, and I'll go try that right now. But where did you get the addresses for the A records? I had them point to my home IP address where the server is hosted.
The record for Minecraft points to your home IP. The one for website points to web server.
I'm awaiting the changes to take effect, but I'm confused.
To access my server's map, you direct your browser to xx.x.xxx.xx:xxx
and to access the server (in-game), you type in the exact same thing EXCEPT it has a different port (:xxxxx).
Basically, map.domain.com and server.domain.com are going to point to the same IP address, but these two things are broadcasting on different ports.
So is GoDaddy going to automatically do something behind the scenes? Am I thinking about this too much?
Do you have any advice on how to do this?
No, they are just going to direct traffic for map.domain.com to the IP address you specified. And they are going to direct traffic to server.domain.com to the IP address you specified, too. They don't know nor care what kind of traffic is being carried, that's not what DNS is for. It just maps a name to an address.
Either that or I still don't understand what you're trying to achieve.
You have a map, that I assume I access through a browser. If I knew your IP, I would type IP.AD.DR.ESS:8072 to access this map. And if I wanted to access your Minecraft server, I would point my client at IP.AD.DR.ESS:25565.
So, with your DNS records, I can now use my browser to go to map.domain.com:8072 to access the map, and point my client to server.domain.com:25565 to play Minecraft (I can of course leave that port number off, since it is default.)
That make sense?
I see. So in a browser, the port for the dynmap is always going to have to be specified?
map.domain.com and server.domain.com broadcast the same ports regardless. Try to connect to minecraft with just map.domain.com and it should let you in because Minecraft assumes the default port if you don't put one in.
It doesn't have to be.
Set dynmaps port to 80.
Then redirect mc.server.com to the servers IP.
Typing mc.server.com into Minecraft will take you to the Minecraft server. Putting it in in a web browser will take you to your dynmap server (web browsers default to port 80). NB: This will only work if your hosting your server and webserver on a different IP,
wait wait wait you can redirect the ports now?
fightandconquer.net instead of fightandconquer.mcpro.co