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 looks something like this: 192.168.1.2:25463 but it can be confusing. You want something that can easily be read and recalled. To do that, you can customize your server address by using a domain (e.g shockbyte.com) or subdomain (e.g. play.shockbyte.com).
This tutorial will teach you how to create a custom IP with a domain under Cloudflare. You may check out our other tutorials for creating custom IPs here:
- Creating a Free Custom Subdomain
- Creating a Custom Server IP with cPanel
- Creating a Custom Server IP with GoDaddy
- Creating a Custom Server IP with Namecheap
We have a video tutorial for creating a custom IP for your server:
Before you begin with this tutorial, you will need the following:
- A domain on Cloudflare.com
- A Shockbyte server
- 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.
- On DNS page, you will need to create an A Record and the entries will vary depending on what you want for 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
(default)
CUSTOM SUBDOMAIN - A Record
- Type:A
- Name:play
- IPv4 address: Your Minecraft Server IP e.g.192.168.1.1
- TTL:Automatic TTL
(default)
After filling out all the entries, click Add Record button.
Creating an SRV Record (for Servers without Dedicated IP)
With a Dedicated IP, your server will be assigned the default port for Minecraft. Because of this, you do not need to include the trailing port (e.g. :25463) after the server IP when joining your server. If you would like to get the Dedicated IP add-on for your server, you may refer to this article to know more: How to: Get a Dedicated IP (Default Port)
If your server doesn't have a Dedicated IP and would like to use a custom domain or subdomain to connect to your server, you need to create an SRV record by following the steps below:
- From the Type dropdown list, select SRV Record.
- A popup will appear wherein you need to fill out the first part of the SRV name with the following depending on whether you are making a custom domain or subdomain:
CUSTOM DOMAIN - SRV Record
- Service:_minecraft
- Protocol:TCP
- Name: Your domain e.g.shockbyte.com
Click Save to proceed to the next page and continue filling out with the SRV content following:
- Priority:0
- Weight:0
- Port: Your Minecraft server's port e.g.25463
- Target: Your domain e.g.shockbyte.com
Click the Save button again to finish filling out the SRV entries.
CUSTOM SUBDOMAIN - SRV Record
- Service:_minecraft
- Protocol:TCP
- Name: Your subdomain e.g.play.shockbyte.com
Click Save to 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 e.g.play.shockbyte.com
Click the Save button again to finish filling out the SRV entries.
- Click Add Record button 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.
If you require any further assistance, please contact our support at: https://shockbyte.com/billing/submitticket.php