Two Servers on the Same IP
Hello, I must make it clear at first that I know next to nothing about networking and the like, but I've gotten half-way there off Youtube and forums, but I've finally gotten stuck.
I'm trying to setup two Minecraft Servers on my desktop, both on the same IP, but on the first one, I kept
server-port
and query-port
to 25565 and on the second one I set server-port
and query-port
to 25566.
In the Advanced DNS for my custom domain, I have the following A Record
:
- A Record |
play |
[insert IP]
- A Record |
build |
[insert IP]
And for SRV Record
:
- SRV Record |
_minecraft |
_tcp.build |
0 |
10 |
25566 |
build.[domain]
- SRV Record |
_minecraft |
_tcp.play |
0 |
10 |
25565 |
play.[domain]
I've tried to swap stuff around, change around the priority and weights to prioritize 25566, but it will always just default to 25565. Although, it seems to actually only link to the IP, as no matter which domain (with subdomain) I input into the server address in Minecraft, if I put :25566
it goes to the right server. At this point, I have zero idea what I'm doing and I'd be very grateful if someone knows a fix.21 Replies
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close
!close
!solved
!answered
Requested by .q.m#0
screenshot your dns records
are you... using a subdomain for a records?
Could you provide domain name so we can check if the records are properly setup
erm, this is hosted off my home desktop, on my home network, if i give domain i give my ip address, π€
i uh, blocked out anything sensitive, idk if that shows enough
most of the big ones are stuff for websites and such, but the main ones are the two A Records with "IP" next to it and the two SRV records, the stupid UI of the site doesnt show everything in each of the parts of the value for the SRV
If you look up the domains on mcsrvstat.us does it show correctly?
hmm it actually does- it pulls the right MOTD and player count (cause the one on 25565 is 0/30 instead of default 0/20)
could it be a messed up query port?i had changed that to 25566 as well, it says under debug info "No - Failed to read from socket."
Nope
Query is for extra info
ah okay
Mcsrvstat uses just normal mc server list ping
Could you try using 1.1.1.1 as your dns?
for which part?
Your pc
im confused, do you mean inputting 1.1.1.1 in the server address in MC, or in the DNS Settings for my domain?
1.1.1.1 is cloudflares dns servers, usually faster to update etc over your isp
Neither
Change dns settings on your pc
To use 1.1.1.1
oh uh
okay.. let me find out how to do that
Could use cloudflare warps app
Would be a single click
To turn on and off
i think i found it
uhm, so... i just restarted my game on my laptop (connected to a VPN to simulate an off-site computer) and... the domain worked fine. i think the instance i had open just cached what it originally gave and called it a day
post closed!
The post/thread has been closed!
Requested by .q.m#0