It may seem like a tough task, but pointing domains to Minecraft servers are far easier than you think! In this tutorial, we will go over the basics of pointing the domain, and how different domain providers have setup DNS management for domains you own.
General Idea
Here are the general steps, universal to all domain providers, for pointing your domain to your Minecraft Server!
There are links for each domain provider's guides listed at the end of the article!
Step 1 - Go to your domain's DNS settings
That is usually available in your domain provider's dashboard, or under your domain's information.
Step 2 - Add DNS records
To point your domain to your minecraft server, you need to add records to the DNS. Add the following records -
-
A type record
-
Host - This is what your domain's prefix will be - for example, if we putÂÂ
play
 in the host field, the ip your players will use isÂÂplay.yourdomain.xyz
-
Target/Points to/Answers - This is the IP the domain in the Host field will point to - put your Minecraft server IP in this field.
-
TTL - This determines how long you want your query cached for, we will set it as 1/2 hour, but you are free to put any value.
-
If your server has a dedicated port ( 25565 ) you can stop here, and your domain should be pointed to your server.
-
SRV type record
-
Name - Your domain's prefix, which we have chosen in the "Host" field in A record.
-
Target/Points to/Answers - Your full domain that is required to connect to the Minecraft Server, exampleÂÂ
play.yourdomain.xyz
-
Protocol - This decides whether to use TCP or UDP protocol for ports. If you are on java, enterÂÂ
_tcp
 , and if you are on bedrock,ÂÂ_udp
-
Service - This determines which service you're having this record point to, in our case it's for Minecraft, so we putÂÂ
_minecraft
-
Priority/Weight - This should be set toÂÂ
0
-
Port - This is where you put the port you have for your server, for exampleÂÂ
25747
-
TTL - This determines how long you want your query cached for, we will set it as 1/2 hour, but you are free to put any value.
-
Your domain should now be pointed to your Minecraft Server!
It may take up to 24 hours for your domain to point to the Minecraft Server, but in most cases, it happens instantly!
Some domain provider's articles
While this is the general idea in linking your domain to your Minecraft Server, some domain providers do not follow this format, or it may be in a different layout. So, we have put together some useful links from the domain provider's themselves!