How to connect a domain to your Minecraft server

Unsure about connecting your domain name to your Minecraft server? We will make sure you know where to begin, and end ;).

Before we start you will need a domain. You can purchase a domain from registrars such as Namecheap, GoDaddy or us!

  1. Visit your domain provider and locate the "Advanced DNS Zone". It may be called "DNS Zone" or "Advanced DNS", or anything similar.

  2. Add an A record:

    1. Set the name/subdomain to the subdomain you wish to use (e.g. play or mc), or @ if you don't want to use a subdomain

    2. Set the value/IP Address to your server IP (excluding the port)

3. Add an SRV Record:

Warning: Depending on your domain registrar you might experience issues. Make sure your domain registrar supports SRV records. If your registrar doesn't support SRV records we recommend switching your nameservers to Cloudflare. (A guide is being worked on as of Apr 11, 2020)

  1. Set the target as the sub-domain you used above, including the main domain (e.g. play.example.com or mc.example.com), or to the main domain if you don't want to use a sub-domain (e.g. example.com)

  2. Set the name to the sub-domain you used, for example, play or mc, or @ if you don't want to use a sub-domain.

  3. Set the protocol to '_tcp'

  4. Set the service to '_minecraft'

  5. Set the priority to 5

  6. Set the weight to 0

Warning: DNS changes may take up to 48 hours to update, although most popular registrars update them instantly.

Last updated