Posted 01 October 2012 - 02:44 PM
Domain name pointing to specific port. I doubt this is doable, but if there was a way to point 'server.domain.com:25565' to '32.51.948.2:25564', then I wouldnt need to do any funny buisness with multiple IP addresses.
Multiple IP adresses. I think this is the more likely answer, but I am unsure how it works. My host allows me to buy an additional IP adress, but how would I use it? Could I simply put the second IP in the server-ip= node from the server.properties? Does anyone know how to route a minecraft server to a different IP on the same machine?
Posted 01 October 2012 - 02:50 PM
no you cant connect 1 domain to 2 server addresses.
the 2 servers i know of that can run on the same machine are the vanilla server and bukkit server.
keep the vanilla server port at 25565
and change the bukkit port
Posted 01 October 2012 - 03:51 PM
Heres a quote, "I do not however want people to have to connect to it with something like 'server.domain.com:25564'"
I cannot simply change the port because that would result in what I said above. I want both servers to be connectable via the port 25565
Posted 01 October 2012 - 05:34 PM
Posted 01 October 2012 - 09:48 PM
Minecraft 1.3 supports SRV records. What you could do is have both servers on the same IP with different ports and different names in the DNS. Once a SRV record is set up for the server that is on the non-standard port, the client will see this info and automagically send the connection to the correct port without it having to be entered in manually.
Search the forum for SRV, there has been a few threads on these.
But otherwise, no, it's impossible to have multiple servers running on the same port, and a standard DNS record does not do redirects, it just returns an IP address. It's up to the client to specify the port to connect to and request additional info from a SRV record.
Posted 02 October 2012 - 02:40 AM
Posted 28 January 2013 - 07:29 PM
An SRV record has the form:
_minecraft._tcp.name TTL class SRV priority weight port target
- name: the domain name for which this record is valid.
- TTL: standard DNS time to live field.
- class: standard DNS class field (this is always IN).
- priority: the priority of the target host, lower value means more preferred.
- weight: A relative weight for records with the same priority.
- port: the TCP or UDP port on which the service is to be found.
- target: the canonical hostname of the machine providing the service.
If your DNS provider asks for service, put in _minecraft and if it asks for proto or protocol, put in _tcp.
For example, if your MC Server was hosted on 184.108.40.206:27165 An example SRV record in textual form that might be found in a zone file might be the following:
_minecraft._tcp.mc 3600 IN SRV 0 5 27165 mcsrv.kingdomland.com.
mcsrv IN A 220.127.116.11
This points to a server named mc.kingdomland.com redirecting to a Minecraft server running on 18.104.22.168:27165 The priority given here is 0, and the weight is 5.
As in MX records, the target in SRV records must point to hostname with an address record. Pointing to a hostname with a CNAME record is not a valid configuration.
Posted 04 December 2013 - 12:08 AM