I use Crafty Controller for Minecraft. I have a server running at 192.168.50.16:25540. I want it to resolve to minecraft.example.com. I have Nginx Proxy Manager setup for my domain and can access it from inside my network, but it’d be nice to be able to use a domain instead.

NPM only has options for http and https, so is this even possible using NPM?

EDIT: this is for only internal access I have external access via tailscale.

  • edb_fyr@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    5 days ago

    If you were using the default port 25565, you could simply have a DNS A record pointing to the server IP. But since that is not the case, you have to additionally set up a SRV record in your DNS. NOIP describes what this is and how to set it up on their service here, but it will of course differ for your DNS provider.

    This still requires that the Minecraft server port is directly accessible from the other clients, but it sounds like that is not the problem

    • Possibly linux@lemmy.zip
      link
      fedilink
      English
      arrow-up
      4
      ·
      4 days ago

      Technically they could use a Nginx stream to forward traffic but I wouldn’t recommend that as it adds latency and overhead.