Subdomains for Minecraft servers


How to setup a subdomain for your Minecraft server

Location of DNS management panel: User dashboard > website settings > DNS management panel. Or click this link here

Note: Only the website owner can make changes to the domain / DNS management panel.

Other Note: These are only the instructions for users who are using Enjin's DNS. If you're using your host's DNS, then you need to make these records in your own DNS management panel.

Create an A or CNAME Record to your Server IP

  • Navigate to the section entitled "Set Custom Records"
  • Hostname: Set a name for your server IP (NOT your intended Minecraft server domain). So if you want a custom domain for your server like Then set a random hostname for your A or CNAME record like "myserver".
  • IP Address / Domain: Fill in the IP Address of your Minecraft server.
  • Record Type: Set this to "A RECORD". (If your server address is not a raw IP, such as "" you need to use a CNAME record instead of a A record)
    (IMPORTANT! If you add a CNAME record, your added address should have a period added to the end or it will not work. For example: "")
  • TTL: This field can be set to whatever integer (In seconds) you choose. Setting the TTL to 1800 means you'll need to wait for 30 minutes for the record to start working fully.

Once you have the A or CNAME record created, proceed to creating your SRV record.

Create an SRV Record

  • Navigate to the "SRV" section in your DNS Management Panel
  • In the _SERVICE column, enter: "_minecraft". 
  • In the _PROTOCOL column, enter "_tcp.<name>". (For example, entering "" will setup the following domain: (MAKE SURE this input is not the same as your A record or CNAME record's Hostname input. If your _PROTOCOL input is '', your A record or CNAME record's Hostname input cannot be 'mc')

Alternatively, if you don't want a subdomain for your server, you can just add "_tcp" in your your _PROTOCOL input. This will make your SRV record point to your base domain "" (WARNING! if you do set your _PROTOCOL input to just "_tcp" your domain and server domain are not guaranteed to work properly. As your domain is already using the root domain, using the root domain for your server will cause it to only work 50% of the time. Ultimately, this is not recommended.)

  • PRIORITY should be "0".
  • WEIGHT should be "5"
  • In the PORT field, you must enter your server's port
  • In the TARGET field, you must add the hostname of the A record/CNAME you just created in the guide above. So if you've entered the HOSTNAME "myserver" on your A or CNAME record add the text "myserver" in the TARGET field.
  • We recommend a TTL of 1800

Was this article helpful?
4 out of 4 found this helpful