Pointing a domain to your Minecraft server is a great way of replacing an IP address with a domain or subdomain for logging in to your server.
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 💡
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
_tcp
without 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