---
title: "Custom domain for a Minecraft server: DNS and SRV | StreetHosting"
description: "Learn how to point your own domain (play.seuservidor.com.br) at your Minecraft server with an A record and an SRV record, so nobody types a numeric IP."
url: "https://streethosting.com.br/en/guides/minecraft/minecraft-custom-domain"
type: "page"
language: "en-US"
---

Minecraft · 2 min · Intermediate

Published on Jun 9, 2026 · Updated on Jun 9, 2026

# Custom domain for your Minecraft server

A numeric IP works, but your own domain builds trust and makes a future migration easier. The trick is the SRV record on the right port.

By [Equipe StreetHosting](https://streethosting.com.br/en/autores#equipe-streethosting) · StreetHosting infrastructure and support team

[Network, DNS and domains](https://streethosting.com.br/en/guides/topics/networking)

Summarize with:

[](https://chat.openai.com/?q=Summarize%20the%20key%20points%20of%20this%20StreetHosting%20guide%3A%20https%3A%2F%2Fstreethosting.com.br%2Fen%2Fguides%2Fminecraft%2Fminecraft-custom-domain.%20Highlight%20the%20step-by-step%20instructions%2C%20the%20prerequisites%20and%20the%20most%20common%20mistakes. "ChatGPT") [](https://claude.ai/new?q=Summarize%20the%20key%20points%20of%20this%20StreetHosting%20guide%3A%20https%3A%2F%2Fstreethosting.com.br%2Fen%2Fguides%2Fminecraft%2Fminecraft-custom-domain.%20Highlight%20the%20step-by-step%20instructions%2C%20the%20prerequisites%20and%20the%20most%20common%20mistakes. "Claude") [](https://www.google.com/search?udm=50&aep=11&q=Summarize%20the%20key%20points%20of%20this%20StreetHosting%20guide%3A%20https%3A%2F%2Fstreethosting.com.br%2Fen%2Fguides%2Fminecraft%2Fminecraft-custom-domain.%20Highlight%20the%20step-by-step%20instructions%2C%20the%20prerequisites%20and%20the%20most%20common%20mistakes. "Google AI Mode") [](https://x.com/i/grok?text=Summarize%20the%20key%20points%20of%20this%20StreetHosting%20guide%3A%20https%3A%2F%2Fstreethosting.com.br%2Fen%2Fguides%2Fminecraft%2Fminecraft-custom-domain.%20Highlight%20the%20step-by-step%20instructions%2C%20the%20prerequisites%20and%20the%20most%20common%20mistakes. "Grok") [](https://www.perplexity.ai/search/new?q=Summarize%20the%20key%20points%20of%20this%20StreetHosting%20guide%3A%20https%3A%2F%2Fstreethosting.com.br%2Fen%2Fguides%2Fminecraft%2Fminecraft-custom-domain.%20Highlight%20the%20step-by-step%20instructions%2C%20the%20prerequisites%20and%20the%20most%20common%20mistakes. "Perplexity")

Share:

[](https://x.com/intent/tweet?text=Custom%20domain%20for%20a%20Minecraft%20server%3A%20DNS%20and%20SRV&url=https%3A%2F%2Fstreethosting.com.br%2Fen%2Fguides%2Fminecraft%2Fminecraft-custom-domain "Share on X") [](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fstreethosting.com.br%2Fen%2Fguides%2Fminecraft%2Fminecraft-custom-domain "Share on Facebook") [](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fstreethosting.com.br%2Fen%2Fguides%2Fminecraft%2Fminecraft-custom-domain "Share on LinkedIn") [](https://wa.me/?text=Custom%20domain%20for%20a%20Minecraft%20server%3A%20DNS%20and%20SRV%20https%3A%2F%2Fstreethosting.com.br%2Fen%2Fguides%2Fminecraft%2Fminecraft-custom-domain "Share on WhatsApp")

For agents: Copy as Markdown [.md](https://streethosting.com.br/en/guides/minecraft/minecraft-custom-domain.md)

In this guide 4 sections

* [Why use a domain](https://streethosting.com.br/en/guides/minecraft/minecraft-custom-domain#por-que-usar-dominio)
* [A record](https://streethosting.com.br/en/guides/minecraft/minecraft-custom-domain#registro-a)
* [SRV record](https://streethosting.com.br/en/guides/minecraft/minecraft-custom-domain#registro-srv)
* [Future migration](https://streethosting.com.br/en/guides/minecraft/minecraft-custom-domain#migracao-futura)

Quick answer

To use a **custom domain** on Minecraft, create a subdomain (e.g. play.seudominio.com.br), point an **A record** at the server IP and add an **SRV record** \_minecraft.\_tcp pointing to the correct port. Players join by name, not by IP.

## Why use a domain[](https://streethosting.com.br/en/guides/minecraft/minecraft-custom-domain#por-que-usar-dominio)

Your own domain signals permanence. Communities that plan to grow avoid handing out an IP that changes with every host migration. It also makes promotional material easier: banners, Discord and videos all use the same memorable address. If you still connect by IP, see [how to connect by IP](https://streethosting.com.br/en/guides/minecraft/connect-to-minecraft-server-by-ip).

## A record[](https://streethosting.com.br/en/guides/minecraft/minecraft-custom-domain#registro-a)

In your registrar's DNS panel, create an A record for play.seudominio.com.br pointing to the IP provided in the [StreetHosting](https://streethosting.com.br/en/minecraft-facil) control panel. A low TTL (300 seconds) speeds up testing; raise it once everything is stable.

## SRV record[](https://streethosting.com.br/en/guides/minecraft/minecraft-custom-domain#registro-srv)

### Typical fields

* Service: \_minecraft
* Protocol: \_tcp
* Name: play (or @ if you use the root)
* Priority: 0
* Weight: 5
* Port: value from the control panel (25565 or a custom one)
* Target: play.seudominio.com.br

Not every registrar shows a friendly SRV form. If in doubt, check your provider's documentation or use Cloudflare DNS in DNS only mode.

## Future migration[](https://streethosting.com.br/en/guides/minecraft/minecraft-custom-domain#migracao-futura)

1. Buy the new plan and note down the temporary IP.
2. Move the world following the hosting transfer guide.
3. Update the A record to the new IP.
4. Announce it on Discord; the domain stays the same for players.

Migration details are in [how to move a world to another host](https://streethosting.com.br/en/guides/minecraft/move-minecraft-world-to-another-host). To invite friends after setting up the domain, use [how to invite friends](https://streethosting.com.br/en/guides/minecraft/invite-friends-to-minecraft-server).

In this guide

* [Why use a domain](https://streethosting.com.br/en/guides/minecraft/minecraft-custom-domain#por-que-usar-dominio)
* [A record](https://streethosting.com.br/en/guides/minecraft/minecraft-custom-domain#registro-a)
* [SRV record](https://streethosting.com.br/en/guides/minecraft/minecraft-custom-domain#registro-srv)
* [Future migration](https://streethosting.com.br/en/guides/minecraft/minecraft-custom-domain#migracao-futura)

## Frequently asked questions

Do I need an SRV record if the port is 25565?

If the port is the default 25565, some clients connect with just an A record. An SRV record still helps when the port is custom and makes a migration cleaner.

Does the orange Cloudflare proxy work with Minecraft?

Cloudflare's HTTP proxy does not protect Java game traffic. Use DNS only (gray cloud) for the server's A record.

Can I change hosts without losing the domain?

Yes. Update the A record to the new IP. Players keep joining through the same friendly address.

Next step

Create a Minecraft server

Simple plans for beginners, with activation within 60 seconds, Anti-DDoS and support in Portuguese.

[Create a Minecraft server](https://streethosting.com.br/en/minecraft-facil)

[See Minecraft Pro Managed hosting on Ryzen with modpacks, optimized Paper and technical support.](https://streethosting.com.br/en/minecraft-pro)

## Related guides

[Minecraft Beginner How to connect to a Minecraft server by IP Connecting by IP is easy once you know the right address, port and version. This guide walks through the process for Java and Bedrock without the hassle. 2 min Read guide](https://streethosting.com.br/en/guides/minecraft/connect-to-minecraft-server-by-ip) [Minecraft Beginner How to move a Minecraft world to another host Switching hosts does not mean starting over. With a backup, the right order and a test run before you reopen, you can move your world and configs safely. 2 min Read guide](https://streethosting.com.br/en/guides/minecraft/move-minecraft-world-to-another-host) [Minecraft Beginner How to invite friends to your Minecraft server Once the server is online, inviting friends means copying an address and sending it in the chat. No opening ports on your modem and no VPN to install. 3 min Read guide](https://streethosting.com.br/en/guides/minecraft/invite-friends-to-minecraft-server)

[← Back to the Guide Center](https://streethosting.com.br/en/guides)
