route subdomain to another subdomain, with a twist

so basically, I wanted to use ZT/CF tunnels for my minecraft server, but it seems impossible to do because of how TCP sockets are handled. i do know there is a free solution for minecraft port forwarding through the launcher "feather" which gives you three free subdomains on their own site which you can enter into minecraft to join the server

every minecraft server uses port 25565 by default, and of course you can't have multiple servers on the same port, but you also don't end up having to enter a port. so the only way it could possibly be hosting different minecraft servers without having to enter a port is by doing some domain name tricks to route based on the entered subdomain rather than the actual IP address or port.

what i want to do is configure the cloudflare DNS to route a subdomain on my own website to one of feather's subdomains. i'm not sure how to do this, a CNAME record doesn't seem to work.
Was this page helpful?