Fix “Unknown host” in Minecraft
Short answer
Minecraft couldn't find the address. Usually a typo or a dead domain; sometimes a stale DNS cache on your side.
On this page2 sections
"Unknown host" means Minecraft couldn't turn the address into a server. Either the address is wrong, or its DNS records don't exist right now. Check it:
If the check can't find it either
- Look for typos. Common ones: a space at the start or end,
http://orwww.in front, a comma instead of a dot, or a missing letter. - The domain may have expired or moved. Servers change addresses. Find the current one on the server's Discord or website, or search for the server on Lobbydex: its page lists every address we know.
If the check finds it but your game doesn't
The problem is on your side:
- Restart your device. This clears its DNS cache.
- Restart your router.
- Switch your DNS to a well-known public resolver, then try again.
- On Java, add the server again from scratch instead of editing the old entry.
Bedrock can't follow the SRV records Java uses, so a Bedrock address sometimes needs a different hostname or an explicit port. Use the Bedrock address from the server's page.