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.
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:
Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.
No spam posting.
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.
Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
No trolling.
Resources:
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
If your looking to access it outside your LAN, you’re gonna want to open up the correct ports on your router’s firewall.
No I’m not.
I have tailscale setup for external access. (I have dns records already in my domain provider pointing to a tailscale ip, so a device on my tailnet can access my domain. ie an authorized tailscale device can access nginx.example.com)
I want to know what I have to do to get minecraft.example.com to resolve interenally.
https://tailscale.com/kb/1054/dns
I have to admit, I’m a bit confused.
Since your domain resolves to an internal private Tailscale IP and your question is how to access using the domain, locally…. I feel like there’s an error in your architecture here. Wouldn’t any device that is on your Tailscale private network already have access using the domain name? If by “resolve internally” you mean hosts on your LAN, not connected to Tailscale scale? How would that be possible if it resolves to a Tailscale IP. If you have control of your DNS on your LAN, you could simply add an override and point it to the LAN address of the Minecraft server.
i have used gate for my internal and external, works very well and i do exactly what you are asking and separate different versions and modpacks by name https://github.com/minekube/gate
Does this work for Bedrock as well as Java edition? I can get Java to work with infrared proxy but I’m not sure how to do Bedrock
it looks like there is a bedrock branch, but i personally have no experience with bedrock.
see this issue for more details: https://github.com/minekube/gate/issues/11
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
You need a public DNS record that points to your public IP of your server.
deleted by creator
https://community.cloudflare.com/t/setting-up-minecraft-srv-records-on-cloudflare-connect-via-your-domain-name/636757
It takes special setting in addition to your normal domain DNS settings.