TABI CLOUD
Minecraft

Fix Minecraft 'Can't resolve hostname'

4 min read · Updated October 2026 · By Tabi Cloud

Can't resolve hostname means Minecraft could not turn the address into an IP. Usually there is a typo, the domain's DNS record is missing or not yet updated, or your own DNS is faulty.

Fix it

  1. Check spelling and remove spaces or extra characters.
  2. Try the server's IP address and port directly.
  3. If it works by IP, the domain DNS is the problem.
  4. Check the domain's A record or SRV record points to the right place. See our domain guide.
  5. Wait for DNS propagation if you changed records recently.
  6. Try another network or change your DNS resolver.

Domain setups

Our guide on connecting a domain to a Minecraft server shows the exact steps.

Local checks

Common mistakes

Want your own server? Join our Discord and tell us the game. We set it up and send you the details. Need help with an error from this guide? Open a ticket there.

GET STARTED ON DISCORD

More guides

MinecraftHow to make a Minecraft server in 5 stepsMinecraftVanilla, Paper, Fabric or Forge: which Minecraft server type should you pick?MinecraftHow to install plugins on a Minecraft server