How do I connect my own domain to my Minecraft server?

With your own domain or a subdomain such as play.yourdomain.com, players no longer need to remember an IP address and port number. You set this up with two DNS records.

First look up the IP address and the port of your server. You will find them in the game panel at the top of the server page or in the Settings tab.

Step 1: A record

In the DNS management of your domain, create an A record that points to the IP address of the server:

  • Name: play
  • Type: A
  • Value: the IP address of your server

Step 2: SRV record

An SRV record makes Minecraft use the correct port automatically, so players do not have to type a port number:

  • Name: _minecraft._tcp.play
  • Type: SRV
  • Priority: 0, weight: 5
  • Port: the port of your server, for example 25566
  • Target: play.yourdomain.com

If your server runs on the default port 25565, the SRV record is strictly speaking not necessary, but it does no harm.

DNS changes are usually active within an hour, but in exceptional cases they can take up to 24 hours. After that, players simply connect with play.yourdomain.com. Do not have a domain yet? Through HostValues you can easily register a .nl, .be, .com, .net, .eu or .org domain.

Tip: at HostValues you can rent a Minecraft server and be online within minutes.


Still stuck? Open a support ticket, our team is happy to help.

Back to the knowledge base