Need help with minecraft server setup

I have a domain, I'd like to know how to configure so that I can use that domain to connect to a minecraft server instead of using ip directy, so far my setup is as follows...
22 Replies
Nas-damha
Nas-damhaOP2mo ago
A record
No description
Nas-damha
Nas-damhaOP2mo ago
points to localhost since i wanna tunnel it via cloudflared
Nas-damha
Nas-damhaOP2mo ago
SRV record, i saw from setup videos that people add this record
No description
Nas-damha
Nas-damhaOP2mo ago
and a tunnel public hostname
Nas-damha
Nas-damhaOP2mo ago
No description
SuperHelpflare
SuperHelpflare2mo ago
Cloudflare Tunnels use Cloudflare's proxy, which only supports proxying HTTP Traffic. If you want to use non-http applications over your tunnel, Cloudflare has a few other options: For a few specific protocols such as SSH, RDP, and SMB, Cloudflare has guides for them here: https://developers.cloudflare.com/cloudflare-one/applications/non-http/ For Arbitrary TCP like Minecraft, MySQL, and any other tcp application, Cloudflare has a guide here: https://developers.cloudflare.com/cloudflare-one/applications/non-http/arbitrary-tcp/ For Arbitrary UDP like Minecraft Bedrock, SMTP, and any other udp application, you will need to use Private Networking with WARP: https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/private-net/connect-private-networks/ Please note for all of these except SSH and VNC which can be browser-rendered, you will either need to use cloudflared (Cloudflare's tunnel daemon) on the client machine running in the background or Private Networking with WARP, and have WARP installed on the client machine logged into your Zero Trust Team.
Laudian
Laudian2mo ago
If you want to tunnel a Minecraft server, all the players will also need to install Cloudflared/WARP. Is that what you want?
Nas-damha
Nas-damhaOP2mo ago
what i want is for sub.domain.com to be used instead of ip maybe u can help me reconfigure everything
Laudian
Laudian2mo ago
Yes, do you want your players to need to install software or should they just be able to join?
Nas-damha
Nas-damhaOP2mo ago
just join but i cant port forward tho
Laudian
Laudian2mo ago
Then you can't use a tunnel. Use a DNS-Only A record with your IP.
Nas-damha
Nas-damhaOP2mo ago
ah, so should i just remove the public hostname in the tuinnel?
Laudian
Laudian2mo ago
You can't host a public Minecraft server if you can't do port forwarding.
Nas-damha
Nas-damhaOP2mo ago
the top A record, is this correct?
No description
Nas-damha
Nas-damhaOP2mo ago
ah ok, i was following chatgpt that i can use cloudflared to tunel a localhost minecraft server i guess it mislead me
Laudian
Laudian2mo ago
It works, but then every player also needs to install Cloudflared or they can't join.
Nas-damha
Nas-damhaOP2mo ago
what about ngrok, is it then same thing? also i tunnel my website, and people can visit them without cloudflared installed?
Laudian
Laudian2mo ago
Yes, it works for websites.
Nas-damha
Nas-damhaOP2mo ago
i see
Laudian
Laudian2mo ago
Not for arbitrary tcp though.
Nas-damha
Nas-damhaOP2mo ago
gotcha so let's say i have a port forwarded ip, only then i can use cloudflare
Laudian
Laudian2mo ago
Yes, you need port forwarding to host a public Minecraft server with Cloudflare.

Did you find this page helpful?