/> />

Creating a Custom Server IP with Namecheap

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).

Getting Started on Namecheap

Before you creating a record, you will need to gain access to your domains advanced DNS settings.

Step 1:

Log into your Namecheap account, and navigate to the Domain List page.

Step 2:

Locate the domain you wish to use, and click Manage.

managing a domain on namecheap
Step 3:

Under the details section, click Advanced DNS.

editing advanced dns settings on a domain in namecheap

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.

Creating a Custom Domain

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).

Step 1:

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

creating an a record on namecheap
Step 2:

(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

creating a srv record for a domain on namecheap
Step 3:

Click Save All Changes to save the newly created records.

Creating a Custom Subdomain

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).

Step 1:

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

creating an A record for a subdomain on namecheap
Step 2:

(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

creating an srv record for a subdomain on namecheap

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.


minecraft pfp
Jay Miller

Game Experience Engineer @ Shockbyte