MCServerHosting

How to Host a Minecraft Server: PC, Hosting or Free

There are three ways to get a server running: on your own PC, with a paid host, or on a free host. Each has a different setup and a different catch. Here is how to make a Minecraft server each way, step by step, so you can decide how to create a Minecraft server that fits your group.

by · updated

Quick picks

#HostFromBest for
1 GodLike Host See site Easiest paid setup, free 1-day trial
2 Apex Hosting $3.99/mo Guided setup for first-timers
3 Minehut Free Free plugin server
4 Aternos Free Free, ad-funded

Way 1: with a host (easiest)

  1. Choose a host and a plan with enough RAM.
  2. Pick the version and server type in the panel.
  3. Start the server and accept the EULA.
  4. Run /whitelist on and add your friends.
  5. Share the address.

This is how to start a minecraft server in about five minutes, and it stays online when your PC is off.

Way 2: on your own PC

  1. Install the right Java (21 for current versions).
  2. Download server.jar from minecraft.net into an empty folder.
  3. Run java -Xms2G -Xmx2G -jar server.jar nogui once, then set eula=true in eula.txt.
  4. Run it again; the world generates.
  5. Port forward TCP 25565 on your router to your PC’s local IP.
  6. Give friends your public IP.

This is how to set up a minecraft server for free, but your PC has to stay on and your home IP is shared with players.

Way 3: on a free host

Sign up, create a server and start it from the website. Expect queues, a server that sleeps when empty, and small RAM. Good for trying things out.

Which way should you pick?

Own PC Free host Paid host
Cost Free Free Few $/month
Online 24/7 Only while PC is on No Yes
Port forwarding Required No No
Backups Do it yourself Limited Automatic

For most groups, a paid host is the simplest answer to how to make a server in minecraft that friends can join any time.

Got questions?

Is it free to make a Minecraft server?

Running one on your own PC or on a free host costs nothing. A paid host costs a few dollars a month and keeps the server online 24/7 without your PC.

How much RAM does my server need?

2 GB for a few friends on vanilla, 4 GB for plugins, 6 to 12 GB for modpacks.

Why can't my friends join my home server?

Usually because port 25565 isn't forwarded on the router, the firewall blocks Java, or they're using a different Minecraft version.