How can I link my domain name to a Minecraft server

How can I link my domain name to a Minecraft server

It is possible to link your domain name to a Minecraft server with the help of an SRV record.

service record (SRV record) is data specification in the Domain Name System defining the location, i.e., the hostname and port number of servers for the specified services. Please note that not all ISPs (Internet Service Providers) support the use of SRV records. In this case, you would require a dedicated IP for the default port 25565.

The Minecraft service allows associating your domain with a game server using TCP. The default port is 25565.
 
1) Mapping a domain (yourdomain.tld) to your Minecraft server.
 
- Create an A record that actually points your domain to the server.
 
- In this case, use these values for your A record:
  • Host : (yourdomain.tld)
  • Value: IP address of your Minecraft server
  • TTL: Automatic or 30 min 

Once it is done, follow the steps described to create an SRV record. It is needed when you are running a server on a custom port. 

  • Service:  _minecraft
  • Protocol: _tcp
  • Priority: 0
  • Weight: 5 <If set to 0, port and weight would randomly switch, and break>
  • Port: [custom port]
  • Target: [your domain] <without subdomain, e.g., yourdomain.tld>
  • TTL: Automatic or 30 min

2) Mapping a subdomain (mc.yourdomain.tld) to your Minecraft server.

Let’s check how records should be changed to have the mc.yourdomain.tld subdomain linked to the Minecraft server.

- The A record set for the subdomain mc.yourdomain.tld has the following values:

  • Host: mc
  • Value: IP address of your Minecraft server
  • TTL: Automatic or 30 min 

The SRV record should look as follows in this case:

  • Service:  _minecraft
  • Protocol: _tcp.mc
  • Priority: 0
  • Weight: 5 <If set to 0, port and weight would randomly switch, and break>
  • Port: [custom port]
  • Target: [your domain with the subdomain] <e.g., mc.yourdomain.tld>
  • TTL: Automatic or 30 min <it's our default TTL>

If you have any questions, feel free to contact our support team.

 

  • 4 Users Found This Useful
Was this answer helpful?

Related Articles

How to add a server icon?

what you will need:A 64x64 (pixel) .png iconUploading the icon: Enter the Multicraft control...

Dedicated IP Address

Are you thinking about using a Dedicated IP? Let us tell you a little bit on how it could benefit...

How to Upgrade/ Downgrade your Minecraft server plan

This guide explains how to upgrade/ downgrade your Minecraft server plan.   Step 1.  Go to "My...

How to update to Minecraft 1.16

This guide explains how to upgrade to version 1.16 safely. Before updating your server we...

Powered by WHMCompleteSolution