Custom Domain Setup
We recommend using Namecheap or Cloudflare as your domain provider.
You need two DNS records. The setup is nearly identical for both providers.
DNS Configuration
Section titled “DNS Configuration”In this example, the domain is trysmp.net and the server runs on 5.175.186.204:19132.
A Record
Section titled “A Record”Points the domain to your server IP.
Type: AName: trysmp.netTarget: 5.175.186.204 # without any portSRV Record
Section titled “SRV Record”Defines the Minecraft service port.
Type: SRVName: _minecraft._tcp # if you need a service and protocol; use `_minecraft` and `_tcp` separatelyPriority: 10Weight: 0Port: 19132Target: trysmp.netUsing a Subdomain
Section titled “Using a Subdomain”If you want to use a domain like play.trysmp.net, adjust the records as follows:
A Record
Section titled “A Record”Type: AName: play.trysmp.netTarget: 5.175.186.204SRV Record
Section titled “SRV Record”Type: SRVName: _minecraft._tcp.playPriority: 10Weight: 0Port: 19132Target: play.trysmp.net