In this tutorial, we will point a domain to a Minecraft server using an SRV record. To add an SRV record for a Minecraft server, you'll first need to log in to your domain name registrar's website and open the control panel for your domain. From there, you'll need to find the area where you can manage your DNS records and add a new SRV record. An SRV record is a type of DNS record that is used to specify the hostname and port number of a service, such as a Minecraft server.
To create the SRV record, you'll need to provide the following information:
- The service name, which is typically set to "_minecraft" for a Minecraft server
- The protocol, which is usually set to "TCP"
- The name of the server, which is the hostname of your Minecraft server (e.g. "hostvio.mcplay.eu")
- The priority, which is a number that specifies the order in which the record should be used when there are multiple records with the same service and protocol
- The weight, which is a number that specifies the relative weight for records with the same priority
- The port number, which is the port that your Minecraft server is running on (e.g. "25565")
After you've entered all the information for the SRV record, save the changes and wait for the DNS changes to propagate. It may take some time for the SRV record to become active, so you may need to wait for a few hours before your Minecraft server is accessible using the new hostname.
If you don't have a domain and still want to have a cool custom subdomain for your server, check out McPlay.eu.