Pointing a domain to your Minecraft server is a great way of replacing 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 CNAME records. Once these records are created you will need to create such SRV record:
Name | Weight | Port | Target | Priority | TTL |
_minecraft | 5 | 25565 | domain.tld | 0 | Default |
Be sure to replace domain.tld with your actual domain name 😊
Point a subdomain
In order 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 will need to create such SRV record:
Name | Weight | Port | Target | Priority | TTL |
_minecraft.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 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