Minecraft
·
Oct 30, 2024
Namecheap is a website that allows you to purchase and manage domains. In order for a player to join your Minecraft server, they need to have your server address to enter on their Minecraft client. By default, a server address is an IP & Port combined to look like this: 192.168.1.2:25463, or alternatively, it can be a domain.
When creating a custom IP, you want a domain that can easily be read and recalled. Domains come in two variants which are called a domain (e.g. shockbyte.com) or a subdomain (e.g. play.shockbyte.com).
Before you creating a record, you will need to gain access to your domains advanced DNS settings.
Log into your Namecheap account, and navigate to the Domain List page.
Locate the domain you wish to use, and click Manage.
Under the details section, click Advanced DNS.
You will now need to enter the necessary DNS Record entries (A Record and SRV Record). You get to choose which one you would like to use as your server's custom IP — domain (e.g. shockbyte.com) or subdomain (e.g. play.shockbyte.com).
Follow the steps below based on the option you would like to use.
A custom domain can be achieved by creating an A Record, whilst additionally creating an SRV Record if your server does not contain a Minecraft dedicated port (:25565).
Create an A Record.
Click Add New Record to create an A Record, and enter the following values:
Host: @
Value: Your Minecraft server IP (e.g. 192.168.1.1)
TTL: Automatic
(Optional) Create an SRV Record.
This step is optional because this only applies if your Minecraft server does not have a dedicated port (:25565).
Click Add New Record to create an SRV Record, and enter the following values:
Service: _minecraft
Protocol: _tcp
Priority: 0
Weight: 5
Port: Your Minecraft server port (e.g. 25463)
Target: Your domain (e.g. shockbyte.com)
TTL: Automatic
Click Save All Changes to save the newly created records.
A custom Subdomain can be achieved by creating an A Record, whilst additionally creating an SRV Record if your server does not contain a Minecraft dedicated port (:25565).
Create an A Record.
Click Add New Record to create an A Record, and enter the following values:
Host: play
- You may change this to your preferred subdomain, this is just an example.
Value: Your Minecraft server IP (e.g. 192.168.1.1).
TTL: Automatic
(Optional) Create an SRV Record.
This step is optional because this only applies if your Minecraft server does not have a dedicated port (:25565).
Click Add New Record to create an SRV Record, and enter the following values:
Service: _minecraft
Protocol: _tcp.play - You may replace "play" with your preferred subdomain.
Priority: 0
Weight: 5
Port: Your Minecraft server port (e.g. 25463)
Target: Your subdomain (e.g. play.shockbyte.com)
TTL: Automatic
If you've entered the correct entries, you can now use your custom domain & subdomain to connect to your server. Once saved, your subdomain should normally be ready to use. However, if it doesn't work immediately, allow up to 24 hours for the changes to take effect.
Game Experience Engineer @ Shockbyte