Skip to main content

How do I add a custom domain?

To add a custom domain to your Minecraft server, follow the steps below:

Requirements
  • You need to have a domain that has already been purchased and configured.
  • You need to have access to the domain's DNS panel (Cloudflare will be used).
  • You need to have configured the correct version of your server.

Connecting your domain

  1. Go to the Domains tab located on the left of your panel.
Domains Tab
  1. Enter the desired domain name and click on the Add button.
Adding a Domain
  1. You will get an error message like this:
Domain Error Message
  1. Copy the error value between the quotation marks and go to your DNS control panel.

  2. Create a Record TXT named urubu-host-challenge and with the value that was copied in the previous step and click on save.

Creating a TXT Record
  1. Go back to the UrubuHost panel and click on the Add button again to complete the verification of your new domain.
Adding a Custom Domain

If the domain is being used by a website...

Follow this tutorial if your domain is being used to host a website (for example, the server's store).

  1. Copy your protected CNAME from the server in the panel.
Copying the protected CNAME
  1. Create a CNAME record named minecraft and targeted to your protected CNAME.
Warning

Don't forget to deactivate the orange proxy cloud next to it.

Creating a CNAME record
  1. Create an SRV record named _minecraft._tcp.yourdomain.TLD with the port 25565 and with the destination minecraft.yourdomain.TLD.
TLD Meaning

TLD is the ending of your domain. In this example, the TLD is “.tld”. Some famous TLDs are “.com”, “.com.br”, “.net”, etc.

Creating a SRV record
  1. Go to the UrubuHost panel, create an IP named minecraft with your domain and click on Add.
Creating an IP
  1. Done! You will be able to access the site and its server using the main domain.

If the domain is not being used by a website...

Follow this tutorial if you are certain that your domain is not being used to host a website (for example, the server's store).

  1. Copy your protected CNAME from the server in the panel.
Copying the protected CNAME
  1. Create a CNAME record named @ and targeted to your protected CNAME.
Warning

Don't forget to deactivate the orange proxy cloud next to it.

Creating a CNAME record
  1. To use the main domain in the server connection, go to the UrubuHost panel and add the value @.
Creating an IP
  1. Done! You can access your server using the main domain.