Hello Bukkit Help subcommunity ( ), I'm trying to set up TWO servers from the same computer (gasp!). I already own the domain lavacraftserver.com, and I've forwarded the subdomain 'mc' to my IP address. People can connect to my server with mc.lavacraftserver.com. But, what if I wish to set up a PvP server as well? I'd want the IP address to be pvp.lavacraftserver.com ( :25565). How would I go about doing this? I've tried editing the server.properties, and the outcomes were unsuccessful. 12:57:27 [INFO] Starting Minecraft server on pvp.lavacraftserver.com:25565 12:57:27 [WARNING] **** FAILED TO BIND TO PORT! 12:57:27 [WARNING] The exception was: java.net.BindException: Can't assign requested address 12:57:27 [WARNING] Perhaps a server is already running on that port? 12:57:27 [INFO] Starting Minecraft server on pvp.lavacraftserver.com:25001 12:57:27 [WARNING] **** FAILED TO BIND TO PORT! 12:57:27 [WARNING] The exception was: java.net.BindException: Can't assign requested address 12:57:27 [WARNING] Perhaps a server is already running on that port? I'm not really sure what to do. I always assumed that the 'server-ip' part of the server.properties was for exactly that, but it seems like I can't, even though I own the domain and forwarded the subdomains to my IP. Does anyone know how to go about doing this? Thanks!
To be able to have 2 servers on the 25565 port, you need 2 different IP's. EDIT: Or a certain DNS config within your domain.
You have the wrong assumption. Just set different ports, not IP's. That is not what he wants to do. He wants different ports.
Actually, Is closer to my goal. I just posted two examples up there. :3 But, I'd like these: mc.lavacraftserver.com - Survival Server pvp.lavacraftserver.com - PvP Server Preferably, the ports would be 25565... But if that's not possible, I'm okay with that. EDIT: What do you mean? The only thing I touched was forwarding the subdomains to my IP.
Setting up two separate DNS entries to point to different IPs to point to the same machine would be hard: you might not be able to get an extra IP. Using separate ports would be much easier: just change it in server.properties for both. (I would advise you uses non-default port for both, so that people don't get a server they weren't expecting if they forget to add the port at the end.
I guess that will have to do. If this whole "server-to-server-connection" idea is actually publicly released, it won't really matter what the IP addresses are, anyways. It was my hope to have different subdomains leading to different servers, but I see that it might not even be possible. Thanks for your help, everyone. If someone does have a possible way to do this, I'd love to hear it.
Assuming you are using a dedicated server or VPS, you will need to purchase IP addresses and bind them to the machine. Bind your minecraft servers on each IP address, and then forward your domains.
How would I direct the subdomain to the port? I'm using NameCheap, and I have to type an IP address without a port. When I try a port... Improper records were NOT saved!There were issues with some records and they were either set to default or completely removed. Please review the issues below and update again appropriately.INVALID_IP: 'xx.xxx.xxx.xxx:25000' is not valid IP for A record. (host name: pvp) (I replaced my IP with x's)
You can't. You have to type pvp.lavacraftserver.comort to connect. Also, we already know your IP is 209.59.169.27.
It might actually be possible depending on your setup. The IP option in server.properties is designed for systems with multiple IP addresses where you want to specifically tell it what IP to listen to.
Bookmarked; I'll revisit once I get my server machine. I'm on a Mac, and have no clue how to do that right now, plus, the new computer won't take too long. Thanks for the link, I'll definitely remember.
That won't work beacuse it's adding local IP addresses not external. Picture it this way. A client enters your address mc.lavacraftserver.com. Namecheap sends it to xxx.xxx.xxx.xxx IP address which is your router. In your router control panel, it tells anything requesting the requesting the port 25565 to go to this internal IP address. Minecraft automatically assumes 25565 so no matter what you do on your end, you can't change their request into the local network. They will be forced to type in the non-standart port number. Setting different internal ports does nothing for what you are trying to achieve.
You're gonna want this: https://github.com/SirCmpwn/MCVHost It has a couple limitations, but should do exactly what you need.