Stuck on this error?
Servers with us come with help built in. When something goes wrong, your server's page tells you what's wrong and how to fix it.
"Unknown host" means the game looked up the address and found nothing. The server itself is fine: the name just doesn't lead anywhere yet.
1. Check the address#
Copy the address straight from your server's page instead of typing it. Common slips:
- A typo or a missing letter in the domain.
http://orhttps://in front: leave it out.- A space at the start or end.
2. A new domain or free address?#
DNS changes can take a few minutes, sometimes longer on some connections. If you've just set up play.yourdomain.com:
- Check the A record points to your server's IP, and the SRV record has the right port: adding a domain.
- On Cloudflare, the A record must be DNS only (grey cloud).
Meanwhile, players can join with the IP and port shown on the server's page.
3. The player's connection#
If it works for others but not one player, their DNS is the problem. They can restart their router, or set their computer's DNS to a public one like 1.1.1.1 or 8.8.8.8, then try again.
Questions
It works for me but not my friend.
Their internet provider's DNS may not have picked up a new domain yet. Ask them to try again in an hour, or join with the IP and port meanwhile.
Should I put http:// in the address?
No. Type only the address, like play.example.com or 203.0.113.10:25565.
Does the port go in the address?
Only if your server shows one and you aren't using an SRV record. Put it after a colon: address:port.