Articles on: Multiservers & Others
This article is also available in:

How to point your domain to your Minecraft Server

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 Steps ๐Ÿ’ก



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



Please note that SRV records only work for Java Edition, not Bedrock Edition.

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. Because Java Edition only uses TCP, enter _tcp.
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!

Cloudflare Tutorial
Dynadot's Tutorial
Namecheap's Tutorial
Porkbun's Tutorial
Name.com's Tutorial
GoDaddy's Tutorial

--

โ“ Troubleshooting Domain Issues โ“



In case you are unable to connect to your domain, check through this list of things to do -

Check if your computer is responding with the correct IP. You can do this by going to command prompt, and typing in ping <your domain name>. It should return the server IP address. If it does not, try to clear your DNS cache by running the command ipconfig /flushdns
If your server doesn't have a dedicated IP ( No 25565 or 19132 port ), remember that you still need to put in the port in the address in the game. So it would be play.domain.com:12345 on java, and you'd have to edit the port on bedrock
If you feel you have latency issues ( high ms ), run tracert play.domain.com and compare that to doing tracert 1.2.3.4.5 ( your server IP ). Then you may need to contact the domain host for fixing the higher latency for connecting via a domain.

If you still have any other issues, feel free to open a live chat!

Updated on: 19/06/2023

Was this article helpful?

Share your feedback

Cancel

Thank you!