This tutorial is deprecated in favour of Manage DNS records · Cloudflare DNS docs
Archive
Please select the type of setup you require, on your root domain or on a subdomain
Root domain, e.g. example.com
- Add an A record for your root domain
example.com
or@
and point it to the IP address of your Minecraft server. Make sure it is set toas your server won’t work running through Cloudflare’s proxy.
- Create an SRV record for the service
_minecraft
, protocolTCP
, nameexample.com
or@
, priority and weight0
, port by default is25565
, but your host may provide a different port to specify and targetexample.com
.
Subdomain, e.g. subdomain.example.com
- Add an A record for your subdomain e.g.
subdomain
forsubdomain.example.com
and point it to the IP address of your Minecraft server. Make sure it is set toas your server won’t work running through Cloudflare’s proxy.
- Create an SRV record for the service
_minecraft
, protocolTCP
, namesubdomain
forsubdomain.example.com
, priority and weight0
, port by default is25565
, but your host may provide a different port to specify and targetsubdomain.example.com
.
Tutorial Reference: CT-46
Reviewed: 07/21
This is a Community Tutorial, most are wiki posts, so can be contributed to by Regulars and MVPs here. If there is a tutorial you would like to see, you can request one here.
If you would like to provide any feedback on this tutorial, please post in the #Meta category, tag your post #TutorialFeedback and let us know the Tutorial Reference above.
Other great resources on this community include the Community Tips . These address best practices when configuring Cloudflare, how to fix issues you may see, and tools to troubleshoot. Also you can view Expert Tips, great posts on the community from people in the know that may help you with your issue.
We encourage users to check out these great resources and the Cloudflare Support Centre before posting