In this guide, we will see how to link a domain name to your game server on Cloudflare

Get necessary informations

First of all, you will need to retrieve your server's port and machine.

Here you can notice that the example server is on the machine "Game 1" and its port is "60000'.

Create the Cloudflare entry

Select your domain and go to "DNS".

Then select "Add a record".

You will then have several values to indicate.

Type : SRV

Name : What you want before your domain, for example "play".

Service : _minecraft

Protocol : TCP

TTL : Automatic

Priority : 0

Weight : 5

Port : The port of your server retrieved before, in this example it is "60000".

Target :

For example if you are on Game1 : "", the Game2 : "", etc.

Do "next" then "validate".


Let's take an example, in the case of the test server, if I want an address in "".

Congratulations! You have linked your domain name to your game server!

Please note that a DNS zone can take up to 48 hours to propagate, so it is normal that the domain does not work immediately.

Don't hesitate to ask on our discord if you have an issue !