Minecraft server with custom domain

I have a domain running through cloudflare and want to connect it with my minecraft server. That would be pretty easy if i was running the server locally, but I don't want any open ports on my network, thats the reason I'm using feather. Feather is a server provider where I can host my server for free on my pc, using my RAM but you can only connect through the public IP of feather assigned to you "example.feathermc.gg". Now the problem is that for (what I am trying to accomplish) redirecting my domain to the feather server domain, I need a ipv4 or ipv6 ip. Now my question, where can I find the public IP of my running server or could I setup a redirect directly to "example.feathermc.gg"?
20 Replies
Metriusz
Metriusz11mo ago
Have you tried setting a CNAME record pointing to example.feathermc.gg? Make sure to disable Cloudflare proxying
David
David11mo ago
This is actually kind of simple, create an SRV record and name it whatever you want (this will be the subdomain), set the service _minecraft (optional), make sure that the protocol is TCP and the time to live is set to auto, set the priority and weight to 0, the port to 25565 and target it at your feathermc.gg subdomain.
No description
David
David11mo ago
(This does actually work, I have verified it)
Metriusz
Metriusz11mo ago
Did a CNAME record not work?
David
David11mo ago
I haven't tried it unfortunately.
Metriusz
Metriusz11mo ago
Using SRV does have the disadvantage that it wouldn't work if the feathermc.gg subdomain was using a CNAME record or an SRV record Only works if it has a A/AAAA record I do believe a CNAME record is a more versatile solution, although if feathermc.org subdomains have A/AAAA records set up then both solutions should work
David
David11mo ago
It did work when I was testing it, I don't see how it wouldn't work on their machine. Possibly, I'll check if this works tomorrow.
Metriusz
Metriusz11mo ago
That means they're using A/AAAA records Also what dig is saying for a random subdomain under feathermc.gg I've found
Skylxne
SkylxneOP11mo ago
Nope, cname doesn't work thx very much i will try that
Metriusz
Metriusz11mo ago
You disabled proxying, right?
Skylxne
SkylxneOP11mo ago
yep tried it with both tho
Metriusz
Metriusz11mo ago
Proxying enabled definitely won't work It's weird that proxying disabled isn't working though
Skylxne
SkylxneOP11mo ago
Yea thats what I thought too idk minecraft is weird
Metriusz
Metriusz11mo ago
Since I had a similar setup - CNAME record pointing to a subdomain with an A record For a Minecraft server And it worked just fine
Skylxne
SkylxneOP11mo ago
yea i just had a cname not an a record can you give me an example of what u did? This would work I think, but i couldnt do like "play.mydomain.com" instead i have to do "_minecraft._tcp.play.mydomain.com" pretty long
David
David11mo ago
No that's just how the expression shows up as. Your friends will connect through play.mydomain.com
Skylxne
SkylxneOP11mo ago
oh okay wait lemme try Damn it works tysm @David
David
David11mo ago
You're welcome!
Metriusz
Metriusz11mo ago
I had a subdomain xyz with an A record pointing to the MC server and a CNAME record for subdomain abc pointing to the xyz subdomain
Metriusz
Metriusz11mo ago
There are also public servers with such a setup
No description
Want results from more Discord servers?
Add your server