You and your players need to join your Minecraft server using an IP address or a domain.
An IP address would look something like: 10.33.231.10:25580 while a domain would look something like play.servername.com.
You might want a (sub)domain since this has the advantage that it is easier to remember and is a lot user-friendlier.
A domain would, for example, be servername.com while a subdomain would look like play.servername.com.
A domain is unique on the internet, meaning that there is only one. A domain needs to be registered by someone. You can only register a domain when a domain is not already registered on the web. You can create subdomains for free when you own a domain, meaning that you can put anything before the dot (.servername.com), like play, mc, www, or anything else.
You can register a domain on our website by going to this page.
DNS Record:
You can connect your domain to your Minecraft server via a so-called DNS record. We need the SRV (and sometimes A) record for this. Down below is a table of what this record would look like when you host your Minecraft server with XinsHosting. You will only need the SRV record when you host your server with us.
DNS record | |
Type | SRV |
Name | _minecraft._tcp.play.yourdomain.com You can replace or remove "play." with anything you want. |
TTL | 1800 |
Target | node<xx>.xinshosting.com Replace the <xx> with the number of the node you are on. This can be found by going to Pterodactyl and going to the settings of your Minecraft server. |
Piority & weight | 10 |
Port | The port of your Minecraft server. For example 25565. |
Examples:
This SRV record would look like the following record in our DNS system:
Host | Value |
_minecraft._tcp.play.servername.com | 10 <port> node<xx>.xinshosting.com |
Now let's say that our domain name is: xinshosting.com and we want play.xinshosting.com to connect to our Minecraft server. Our Minecraft server runs on node12 with XinsHosting and has port 25587. That means that our record would look something like this:
Host | Value |
_minecraft._tcp.play.xinshosting.com | 10 25587 node12.xinshosting.com |
You can simply change "play." to anything you want or remove it to use xinshosting.com to join your Minecraft server.
We can set this up for you as well. Please note that we only do this for customers who registered their domain with us and are using our DNS servers.