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.
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 Cloudflare
Before you can create a record, you will need to gain access to your domains advanced DNS settings.
- Log into your Cloudflare account. On the upper-left section of your Cloudflare dashboard, click on the Select Website menu and select the domain you want to use.
- On your domain's page, click on the DNS option.
# 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.
- On DNS page, you will need to 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
- Type:
A
- Name:
@
- IPv4 address: Your Minecraft Server IP e.g.
192.168.1.1
- TTL: Automatic TLL
# Custom Subdomain - A Record
- Type:
A
- Name: The first part of your custom subdomain, for our example it's
play
. - IPv4 address: Your Minecraft Server IP e.g.
192.168.1.1
- TTL: Automatic TTL
- After filling out all 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.
- From the Type dropdown list, select SRV Record.
- On the DNS page, create your SRV Record.
The entries will vary depending on what you would like as your custom IP - a domain, or subdomain.
# Custom Domain - SRV Record
- Service:
_minecraft
- Protocol: TCP
- Name: Your domain.
Click save, and proceed to the next page and continue filling out the SRV content with the following:
- Priority:
0
- Weight:
0
- Port: Your Minecraft server's port (e.g. 25463)
- Target: Your domain.
Click save again to finish filling out the SRV entries.
# Custom Subdomain - SRV Record
- Service:
_minecraft
- Protocol: TCP
- Name: Your subdomain.
Click save, and proceed to the next page and continue filling out the SRV content with the following:
- Priority:
0
- Weight:
0
- Port: Your Minecraft server's port e.g. 25463
- Target: Your subdomain
Click save to finish filling out the SRV entries.
- Click Add Record to save the SRV 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.