Minecraft
Fix Minecraft 'Can't resolve hostname'
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
- Check spelling and remove spaces or extra characters.
- Try the server's IP address and port directly.
- If it works by IP, the domain DNS is the problem.
- Check the domain's A record or SRV record points to the right place. See our domain guide.
- Wait for DNS propagation if you changed records recently.
- Try another network or change your DNS resolver.
Domain setups
- An A record points a name to an IP.
- An SRV record can add a port so players do not type it.
Our guide on connecting a domain to a Minecraft server shows the exact steps.
Local checks
- Flush your DNS cache.
- Disable VPN or filters temporarily to test.
- Test from a different device.
Common mistakes
- Entering the address with https:// in front.
- Adding the port into the host field wrongly.
- Records pointing to an old IP.
- Not waiting for DNS changes.