How to use a domain or custom IP on your server

In this guide, you will learn how to setup your server with a custom domain.
By default, the IP that players will use to connect to your server will be something like 192.168.1.1:25578. You can use a domain (e.g. vultam.net) or a subdomain (e.g. play.vultam.net) to have a server address easier to remember and custom.

To achieve this, before you start you need a domain. You can buy a domain from popular registrants like GoDaddy, NameCheap, and more.

Also before continuing, you should know if your server has a dedicated IP or not. Dedicated IP's are an add-on that you can purchase with your server for an additional cost. A dedicated IP allows your server to use port 25565, if your server's IP ends in a different port, then you don't have a dedicated IP.

Below you can see examples of a dedicated IP and a normal IP:
Dedicated IP: 192.168.1.1:25565
Normal IP: 192.168.1.1:30124

Add an A record:

  1. Log in to the provider where you bought your domain, and go to the DNS Manager of your domain. This section may be called "DNS Zone", "Advanced DNS Zone", "Advanced DNS", "DNS", or something similar.
  2. Look for a button that says "Add" or "Add record," and add an "A" type record.
  3. Set the "Name" / "Subdomain" field to the subdomain you want to use. For example:
    • Write play or mc if you want your IP to be play.example.com or mc.example.com
    • Write @ if you want your IP to be example.com

  4. Set the "Content" / "IP Address" with the IP of your server without the port.

    image-1598542361240.png

If your server has a dedicated IP, you are done here. You can now connect to your server using the domain you have configured!
If your server does not have a dedicated IP, continue with the next step.

Add an SRV record:

  1. Add a new SRV type record just like you did to add the type A record.
  2. Set the "Target" field to the subdomain that you have previously used but including the domain itself. For example play.example.com o example.com
  3. Set the "Name"/"Subdomain" field to the subdomain you want to use, for example play, mc or @ if you don't want to use a subdomain.
  4. Set the "Protocol" field to _tcp
  5. Set the "Service" field to _minecraft
  6. Set the "Priority" field to 0
  7. Set the "Weight" field to 0
  8. Set the "Port" field to your server port.

And that's it, you can now connect to your server using your domain.

Need help setting up your domain? Open a ticket with our support team and we will help you!