So lets suppose there is a host a that has a minecraft server on the port 19133. I want o make a domain of that server that will change the port. Like connecting to the host a with a domain and another port (19132).
no this is not how it works you cant remap ports using DNS sadly only way is to run a proxy that connects to the real ip and port or even easier have players get transfered when they join in
The closest thing I've got off the top of my head are SRV Records. There was an issue like this on stack overflow. I know this isn't exactly what your looking for, in which case I would have to agree with @Thunder33345
SRV records are perfect for Minecraft Java Edition where larger servers use them all the time. Bedrock Edition doesn't support them however.
Okay, I will try to help. There was a thing named red something. I am 100% sure it included the word red. Redstone something. It did the thing I am asking for, I saw it on the forums like 6 months ago but it was either not working for or it was deleted/not maintened anymore. You had domains like whateveryouwanthere.redstonesomething.com or .net
redstone transfer by dalton if i remember correctly and it's probably no longer maintained theirs basically do the transfering for you
Yes. If I remember correctly Dalton said they set up an API that would use the transfer packet to send you to a certain server depending on which address they connected with. I don't know the specifics of how they created the system for doing so however. The transfer on join is easy, but I don't know how they were able to determine which address a player joins with.
i know some technical details but by memory: all addressed of *.redst.one is redirected to 1 host the host server reads the entry address, and attempts to match it with an internal list of domain name -> server IP list once a match is made it's transferred to the matched server there's something about loadbalancers but i dont really remember anything about them other then it begin mentioned
Oh, I see. So this is not possible. Can I transfer a player faster? Like a proxy but without hiding the real IP of the player. Like brokenlens (no advertising, I know) but for php (they use java).