Connecting a Subdomain
Using the panel, connecting a subdomain.
Last updated
Using the panel, connecting a subdomain.
Last updated
This guide will go over how to connect your own subdomain to your minecraft server so that you can mask the IP address and port. In the example, we'll be using Cloudflare as our DNS for creating the necessary records for this to work properly. You'll also need a domain to use for it.
Go to your DNS
Create an 'SRV Record'
Restart your Server
This is the first part for masking your Minecraft's server's IP address. This will let your players connect without having to input the port. Essentially, after this you'll be able to connect to your Minecraft using only your subdomin. First off, click to add a new record then select "SRV". After that, copy the values from the screen shot below into the required fields. Replace eu1.megabyte.host
with the subdomain found on your server console. Then change the 'Port' to your server port. After pressing Save, you will now be able to join from play.your.domain (eg. play.mgbt.pro)
Now after you've done all of that, you can go over to Minecraft and give your new subdomain a try! If you encounter any issues when you're going through these steps due to a different layed out DNS, feel free to open a ticket on our Discord and our support team will help you to the best we can.
This guide has been confirmed to be helpful.