Articles on: Minecraft

How to Use a Custom Domain (URL) with Your Server Using Namecheap



This guide will help you set up on your server a custom domain using Namecheap.


🔎 Setting Up a URL 🔎



We want to set up a domain (URL) so our friends can connect to our server with just the URL, like mydomain.com without any of this 198.758.43.3:3532 nonsense.

What you need to do:

Go to your Namecheap domain list: https://ap.www.namecheap.com/domains/list/


Find the domain (URL) you want to use, and click Manage:




Click on Advanced DNS:



You should see something like this:




We want to add a record. Click on Add New Record:




We’ll be adding what is called an A record. This tells other people’s computers where to find your server on the internet. Click on A Record, then add @ to the host field.




For the Value field, we need an IP Address from your server. Find your server by logging in here: https://mc.ggservers.com/index.php?r=server/index


Once you have opened your server, you want to find the line that says IP and has a number next to it. It should look something like this:


IP Address


You want to copy and paste the number to the left of the colon exactly as it is here into the field that says Value. Click the check-mark to finish.




Now, we have a URL pointing to our server.


Port

At this point, I could connect to my server using my URL and the port number like this: mydomain.com:25698 But, what’s the fun in that? We want people to be able to connect just by typing in mydomain.com. If it says anything other than 25565 for your port here, we need to do a little more work to make the URL work right.


🔄 Setting Up a Nice URL 🔄



You will have to do the following steps:

We want to go back to our domain in Namecheap and click Add Record.




Scroll down on the list and click SRV Record. This is a service record, we’re telling the world that our Minecraft server is at mydomain.com:port but we’re calling it mydomain.com



Now we have a bunch of text boxes.




For the Service box we want to add _minecraft


For the Protocol box we want to add _tcp


For the Priority box we want to add 0


For the Weight box we want to add 5


For the Port box we want to add the port you can find on your server using the number to the right of the colon:

Port


In the Target box add your domain (URL). It’ll look something like mydomain.com

You should have something like this:




Hit the check-mark and you’re done! It may take up to 30 minutes to work.

Now you can connect to your website using just your domain (URL) without needing any fancy numbers or special symbols. It just works.




If you find any issues setting up your custom domains using Namecheap please contact us on live chat or via the ticket system.


❕ Useful Links ❕



- What Is a Subdomain and How to Change It
- How to Connect to Your Server Using FileZilla
- Implement a Custom Resource /Texture Pack In Your Server

Updated on: 05/09/2021

Was this article helpful?

Share your feedback

Cancel

Thank you!