I'm starting a Minecraft server with some friends of mine. Two instances of Minecraft will be running on a Dell webserver on ports 25566 and 25565 respectively (one all the time, the other will be mostly offline). Also, we're going to run an instance of Discourse on another port.
I have the domain mchorizons.gq registered and I will use it for a website (it works, hosted with GitHub). My goal is to arrange the subdomains like this:
- www.mchorizons.ga: Website
- play.mchorizons.ga: 24/7 Server
- private.mchorizons.ga: Occasional Server
- forums.mchorizons.ga: Discourse
Cloudflare doesn't seem to support forcing a port to a subdomain. My other idea was to use a nameserver hosted somewhere that would route each incoming request to its respective port. I saw on another post that PowerDNS could be used to host a nameserver, but that had nothing on how to use it. Would it be viable to host a nameserver that manages ports to one IP?
Note: I did check this post that said I could use SRV records. I tried following the directions but to no avail.