Hosting a Minecraft server on your own computer is the best way to play with friends using custom mods, massive worlds, and full administrative freedom. But sharing your server can be a nightmare if your IP address keeps changing.
Why do you need a domain for your Minecraft server?
Normally, you would have to text your friends your public IP (e.g., 189.123.45.67:25565) every time you want to play. If your router restarts, the IP changes and no one can connect. Giving them a domain like mc.yourdomain.com solves this forever. They just add the domain in Minecraft once, and they are good to go.
Steps to set up the Minecraft server on Windows
- Prepare your server: Download the Minecraft server jar file and run it on your PC. Make sure to allocate enough RAM.
- Port forward: Open your router settings and forward port 25565 (TCP/UDP) to your PC's local IP.
- Set up DDNS with SyncMyIP: Install SyncMyIP and point it to a Cloudflare subdomain like mc.yourdomain.com.
Done! SyncMyIP will ensure that mc.yourdomain.com always points to your current public IP address transparently.
Take your server to the next level
If you are a dedicated server admin and want to ensure maximum uptime for your players, buy the SyncMyIP PRO license. It will let you monitor the status and instantly update the DNS record so your friends are never locked out of the game due to an unexpected ISP IP change.