this post was submitted on 31 Oct 2024
16 points (94.4% liked)

Selfhosted

40113 readers
838 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 7 points 1 week ago (1 children)

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

[–] [email protected] 4 points 1 week ago

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