Creating a Custom Server IP with cPanel

a minecraft icon

Minecraft

·

Sep 11, 2024

·

13 Mins Read

cPanel 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 cPanel

Before you can get started and create a record, you will need to gain access to the Zone Editor, to manage your domains.

  1. Log into your cPanel account. Under the Domains section, click Zone Editor.

logging into cpanel to manage domains

  1. In the Zone Editor page, click Manage next to the domain you wish to use.

managing a domain on cpanel

  1. To start creating records, click Add Record to start creating records.

adding records to domains on cpanel

# Creating an A Record

If your Minecraft server has a Dedicated Port (:25565), then you can create an A Record as it does not require a specified port.

  1. Create an A Record.

The entries will vary depending on what you would like as your custom IP - a domain (e.g. shockbyte.com) or subdomain (e.g. play.shockbyte.com).

# Custom Domain - A Record

  • Name: Your domain.
  • TTL: 14400
  • Type: A
  • Record: Your Minecraft server IP (e.g. 192.168.2.1)

creating an a record for a domain on cpanel

# Custom Subdomain - A Record

Name: Your Subdomain.

TTL: 14400

Type: A

Record: Your Minecraft server IP (e.g. 192.168.1.1)

creating an a record with a subdomain on cpanel

  1. After filling out the entries, click Add Record.

# Creating an SRV Record

If your Minecraft server does not have a Dedicated Port (:25565), then you can create an SRV record as it requires the user to specify a port.

  1. Create an SRV Record

The entries will vary depending on what you would like as your custom IP - a domain, or subdomain.

# Custom Domain - SRV Record

  • Name: _minecraft._tcp.shockbyte.com. (Replace "shockbyte.com" with your custom domain)
  • TTL: 14400
  • Type: SRV
  • Priority: 0
  • Weight: 5
  • Port: Your Minecraft servers port (e.g. 25643)
  • Target: Your domain.

creating a srv record with a domain on cpanel

# Custom Subdomain - SRV Record

Name: _minecraft._tcp.play.shockbyte.com. (Replace "shockbyte.com" with your custom subdomain)

TTL: 14400

Type: SRV

Priority: 0

Weight: 5

Port: Your Minecraft servers port (e.g. 25643)

Target: Your subdomain.

creating an srv record with subdomain on cpanel

  1. After filling out the entries, click Add Record.

Once you've completed the steps above, you will now be able to use your domain or subdomain as your custom server IP! If it doesn't work immediately, please allow up to 24 hours for the changes to take effect.

minecraft pfp
Jay Miller

Game Experience Engineer @ Shockbyte