> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.sparkedhost.com/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).

# How to Connect A Namecheap Domain With A Minecraft Server

Using your domain to connect to your server looks more professional and encourages people to join. 

Learn how to connect a domain with a Minecraft Server using Namecheap.

Don't already host with us? 10,000+ server owners trust Sparked Host for lag-free Minecraft worlds. [Claim your server savings](https://sparkedhost.com/minecraft-server-hosting?utm_source=referral&utm_medium=knowledge_base&utm_campaign=kb_redirect&utm_content=intro) to get higher performance at less $ per month.

### How to connect a domain with a Minecraft Server __with__ a dedicated IP (Namecheap)

1. Login into the Namecheap dashboard and Click “Manage”.

2. Click “Advanced DNS” and then click “Add New Record”. Firstly, we need to create an “A” record. You will need to fill out the following:

* Host - This is the option to either make it a subdomain or not. In this example, we will use “play”. This will make it so we have to connect using `play.domain.com`.
* Value - This is the IP of the server NOT including the port numbers.
* TTL - Leave this as automatic.

Once complete, Click the tick icon

![](https://storage.crisp.chat/users/helpdesk/website/a79efd0b48a91800/a-1_1swwufy.png)

3. Your domain is now usable. Players are now able to connect to your Minecraft server using the domain.

![](https://storage.crisp.chat/users/helpdesk/website/a79efd0b48a91800/mc_1lcfnv2.png)

### How to connect a domain with a Minecraft Server __without__ a dedicated IP (Namecheap)

|| Please note that this method will not work with Minecraft Bedrock. You will need to include the port when connecting to the server, or get a dedicated IP for your Minecraft Bedrock server.

1. Login into the Namecheap dashboard and Click “Manage”.

2. Click “Advanced DNS” and then click “Add New Record”. Firstly, we need to create an “A” record. You will need to fill out the following:

* Host - This is the option to either make it a subdomain or not. In this example, we will use “play”. This will make it so we have to connect using `play.domain.com`.
* Value - This is the IP of the server NOT including the port numbers.
* TTL - Leave this as automatic.

Once complete, Click the tick icon

![](https://storage.crisp.chat/users/helpdesk/website/a79efd0b48a91800/a-1_1swwufy.png)

3. You will need another record. Again, Click “Add New Record”. This time we will need to create a “SRV” Record. Select “SRV” under the “Type” dropdown. You will need to fill out the following:

* Service - Set the service name to `_minecraft`. This is super important!
* Protocol - Set the protocol to `_tcp`
* TTL - Leave This as `Auto`.
* Priority - Set this to `0`.
* Weight - Set this to `5`.
* Port - This is the port of the server. In this example, we will be using port `28017`
* Target - This is the whole domain name that you have chosen. In this example, the target is going to be `play.sparked-tutorials.com`

The end result should look similar to the following screenshot:

![](https://storage.crisp.chat/users/helpdesk/website/a79efd0b48a91800/srv-1_1ngz2m5.png)

4. Your domain is now usable. Players are now able to connect to your Minecraft server using the domain.

![](https://storage.crisp.chat/users/helpdesk/website/a79efd0b48a91800/mc_1lcfnv2.png)
---

If you require any further assistance, please create a ticket [here](https://billing.sparkedhost.com/submitticket.php).
---

Created By: Greg K.