Use a cheap Minecraft server hostingdomain, we will go over on how to make your server go from lots of numbers (111.111.111.111:25566) or default domain srv3.goldlike.club:25566 to a fancy domain name such as example.godlike.clubor play.ex.com
First, go to the game panel and select your server. On the main page, above your console you will be able to find your default Domain.
Simple change domain name to xxx.godlike.club and connect without port
Before we are starting with CloudFlare you need to know that you can easily set your own subdomain name on our domain godlike.club. As we are already in game panel go to Network settings and type your domain name. For example i typed your_name so i could connect to the server with your_name.godlike.club.
In this guide, we're going to use CloudFlare to point our domain to the server. Simply register here. After registration, they will guide you through the process of connecting your domain to CloudFlare.
Alternatively, some domain providers allow you to use their own systems for DNS. Though all sites look different, the task is the same for all of them.
WARNING
Ensure that the server is grey cloud (not proxied by cloudflare). You can still use cloudflare, just make sure it has a grey cloud so it's not proxied.
For the name, it will be your_name. This is the subdomain that we have assigned to it, so whatever name we put there will be put before the domain when we type it in. In this case, it's play.ex.com. If you put your_name instead of play, it would be your_name.ex.com.
You can use @ in the Name field if you want your root domain to point to your Minecraft server. A root domain is one like this: ex.com
We will then put into the IP we got from our server into the IPv4 address. Remember that you don't need to write your server port here.
Lastly, double-check that the cloud icon is set to 'DNS only'!
Click Save. This process will now take up to 48 hours to apply, but in most cases, it will be under a couple of minutes with Cloudflare!
Pointing a domain to a split server
Split servers don't have a 25565 port and if you want to join them directly you will need to use something similar to this: your_name.ex.com:25566. We can get around this by using a DNS SRV record that points to the split server port.
WARNING
For the following steps we assume you already have created an A record pointing to your server IP. If you haven't done so, please follow the steps above to create another A record before you create the SRV Record.
To create a DNS SRV record, you will head to your registrar or Cloudflare DNS configuration page.
Once you are there, you will click on add a new DNS record and you will select SRV.
Then you will proceed to create an identical record to the one above.
You will need to replace the Port field with the port that your split server uses
Remember to replace the Target field with the subdomain or domain that is pointing to your server IP.
The priority and Weight ports can be left at 0. TTL needs to be in Auto.
That's all! Now you should be able to connect to your split server using your_name.ex.com, you no longer need to use the port.