Minecraft Blogs / Tutorial

How to Set an SRV Record for your Minecraft Server

  • 11,858 views, 4 today
  • 5
  • 2
  • 2
iCubik's Avatar iCubik
Level 33 : Artisan Nerd
16
If your Minecraft server doesn't have the 25565 port, you'll notice that only setting an "A record" doesn't actually work with your server (it might even take you to someone else's server!). By default, Minecraft assumes that a subdomaian going to it wants to connect to the 25565 port unless an SRV record is set, which is what this guide will help you achieve. To set an SRV record for your domain name registered with a domain registrar, follow these steps:


Section 1:
  1. Go to https://www.cloudflare.com/
  2. Click "Signup",
  3. Create an account,
  4. Next, hit "+ Add Site",
  5. Enter your domain in the box ie. planetminecraft.com,
  6. Allow 1-2 minutes for CloudFlare to scan your website,
  7. Once done, click "Continue Setup".
Section 2:
  1. Create a "A" record,
  2. In the "Name" box put the word "play",
  3. In the "IPv4 address" put your Server IP. (Without the port),
  4. Then click "Add Record".
Section 3:
  1. Click "A" and select "SRV",
  2. A popup will now appear,
  3. In the "Service name" box enter "_minecraft",
  4. In the "Protocol" box select "TCP",
  5. In the "Name" enter the IP you'd like people to join via,
  6. Select "Save".
Section 4:
  1. In the "Priority" box enter "0",
  2. In the "Weight" box enter "0",
  3. In the "Port" box enter your Minecraft server port which your hosting provider gave you,
  4. In the "Target" box enter the "A" record we made in Section 2,
  5. Click "Save",
  6. Click "Add Record".
Section 5:
  1. Select the "Continue" button,
  2. Scroll up, and select the "Free" plan,
Now, you'll need to login to your domain control panel, search for the Nameservers and update your old Nameservers to Cloudflare's one that they give to you on the screen.

Major Domain Provider Instructions:

  1. GoDaddy
  2. NameCheap
  3. 1and1
  4. Name.com
Once you've updated your Nameservers all you have to do is wait for the records to propagate through the internet and you'll soon be able to use a subdomain to connect to your server even if it doesn't have the 25565 port.
Tags

Create an account or sign in to comment.

MultiGame
01/18/2018 7:25 pm
Level 8 : Apprentice Miner
MultiGame's Avatar
thumbs upp! great tutorial!
1
iCubik
01/18/2018 9:52 pm
Level 33 : Artisan Nerd
iCubik's Avatar
Thank you!
1
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome