> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.skynode.pro/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Minecraft | Setting up a domain

# Setting up a domain

||| Using SRV Records can lead to stability issues for your domain. They are not always reliable and therefore we recommend using a dedicated IP to use a domain. SRV Records are what allow you to connect your domain to a port for those who are wondering. We are also not experts in domain hosting so please do not hold us responsible for this not working.

[![](https://storage.crisp.chat/users/helpdesk/website/96b07f66ef6ab800/standard_1batqiq.gif)](https://www.minecraft-rewards.com/)

There will be 2 parts to this tutorial, first setting up the main domain and then adding subdomains so play.skynode.pro for example.

### Setting up the main domain

**STEP 1:** You need to create an A Record on your domain provider. We cannot show you how to create a record, it is different depending on the host you use as there are multiple ways on different sites.
**STEP 2:** Fill in these values accordingly:
* Host: @
* Value: The IP address of your server.
* TTL: Automatic or 30

|| TTL can be different on some hosts and not always the same so be careful. I recommend leaving TTL as the default when creating the record.

|| The below steps are only if you don't have a dedicated IP.
**STEP 3:** Create an SRV Record in the same way you set up the A Record in Step 1.
**STEP 4:** Fill in these values accordingly:
* Service: _minecraft
* Protocol: _tcp
* Priority: 0
* Weight 5:
* Port: The port to your Minecraft server.
* Target: Your domain (i.e skynode.pro)
* TTL: Automatic or 30

|| Please wait up to 30 minutes for the changes to take place.

You have now set up a domain for your Minecraft server. This second part is if you want to create a subdomain such as play.skynode.pro or mc.skynode.pro

**STEP 5:** Follow Step 1 again but instead enter these values:
* Host: The subdomain you want, in this case, "play".
* Value: The IP address of your server.
* TTL: Automatic
**STEP 6:** Repeat Step 3 but with the following values:
* Service: _minecraft
* Protocol: _tcp
* Priority: 0
* Weight: 5
* Port: The port to your Minecraft server.
* Target: Your domain with the subdomain (i.e play.skynode.pro)
* TTL: Automatic or 30

|| Please wait up to 30 minutes again for the subdomain to take place. 

||| Some hosts may require additional fields or other ways for the protocol so down here are the references to specific guides on 2 of the largest providers, NameCheap and GoDaddy. NameCheap has a specific guide for this found here: https://www.namecheap.com/support/knowledgebase/article.aspx/9765/2208/how-can-i-link-my-domain-name-to-a-minecraft-server GoDaddy has more general guides which can be found here: https://uk.godaddy.com/help/add-an-a-record-19238 and here: https://uk.godaddy.com/help/add-an-srv-record-19216

# All done! Enjoy your fresh new domain.