How to Connect a Domain (Cloudflare) to a Minecraft Server

This guide will show you how to set up your domain so that players can use a domain to join your Minecraft server.

This specific guide will explain the process on Cloudflare. To view our non-Cloudflare article, please go here: https://cybrancee.com/learn/knowledge-base/how-to-connect-a-domain-to-a-minecraft-server/.

We will be using the domain “cybrancee.xyz” throughout the article – simply change this domain to your domain when applying the settings.

1. Log Into Your Clodflare DNS Panel


2. Create a New ‘A Record’

This A record should point to your Minecraft server IP address.

Cloudflare A record options

3. Create a New ‘SRV Record’

This record will point to your domain and the port of your Minecraft server. Once all of the values have been entered, press “Save”.

1) SRV
2) _minecraft._tcp
3) 0
4) 5
5) Auto
6) [PORT]
7) [DOMAIN]

Cloudflare SRV record options

4. Add to Server List

This change may take some time to be recognised by your Minecraft server. This is called “Propagation”. In the meantime, you can open up Minecraft and add it to your server list.

Minecraft edit server info
Minecraft play multiplayer screen

Minecraft Server Hosting

Starts at $1.99

External link icon
Was this article helpful?
Please Share Your Feedback
How Can We Improve This Article?
Table of Contents