To point a domain or subdomain to a Minecraft server at Hostinger, create the A record (or an A and a CNAME record) for your domain or subdomain, then add a _minecraft._tcp SRV record. Players can then join your Game Panel server with a domain name instead of an IP address.
Point a domain
You can point your domain to VPS by either creating two A records or one A and one CNAME record.
After that, you’ll need to create this kind of SRV record:
|
Name |
Weight |
Port |
Target |
Priority |
TTL |
|
_minecraft._tcp |
5 |
25565 |
domain.tld |
0 |
default |
Be sure to replace domain.tld with your actual domain name.
Point a subdomain
To point a subdomain, you will need to create one A record:
|
Name |
Points to |
TTL |
|
subdomain |
server IP |
default |
Make sure to replace subdomain and Server IP with actual values.
Once this record is created, you’ll need to create this kind of SRV record:
|
Name |
Weight |
Port |
Target |
Priority |
TTL |
|
_minecraft._tcp.subdomain |
5 |
25565 |
domain.tld |
0 |
default |
Make sure to replace subdomain and domain.tld with actual values.
Your domain or subdomain now points to your Minecraft server, and players can join with it once the DNS records propagate.
NOTES
-
Depending on your DNS zone provider, it may be necessary to specify a protocol for the SRV record; in that case, set it as
_tcpwithout the quotation marks -
You may create multiple instances with Game Panel, so the port will differ depending on the instance you wish to point a domain/subdomain to