1. Home
  2. ›
  3. Guides
  4. ›
  5. How to Make a Minecraft Server

How to Make a Minecraft Server (2026)

Running your own Minecraft server lets you control the rules, install plugins, and play with friends on your terms. This guide covers every method of setting up a Minecraft server in 2026: from self-hosting on your PC to running it on a VPS.

Two Ways to Host a Minecraft Server

Before you start, decide which approach suits you:

Self-hosted
Free, but your PC must stay on. You handle setup, security, and port forwarding.
On a VPS
From £8.99/mo. Always online, DDoS protected, your own IP address, no port forwarding needed.

Option 1: Self-Hosting on Your PC

Java Edition Server

  1. Install Java 21 (or the version matching your Minecraft version) from Adoptium.
  2. Download the server JAR from minecraft.net.
  3. Create a folder for your server files (e.g., C:\MinecraftServer).
  4. Run the JAR with: java -Xmx4G -Xms2G -jar server.jar nogui
  5. Accept the EULA: edit eula.txt and set eula=true.
  6. Run again. The server will generate world files and start.
  7. Configure server.properties for game mode, difficulty, max players, etc.

Port Forwarding

For friends outside your network to connect, you need to forward port 25565 (Java) or 19132 (Bedrock) on your router:

  1. Log into your router admin panel (usually 192.168.1.1 or 192.168.0.1)
  2. Find the Port Forwarding section
  3. Create a rule: external port 25565, internal port 25565, TCP, pointing to your PC’s local IP
  4. Share your public IP address with friends (find it at whatismyip.com)
Security warning: Port forwarding exposes your home network. Self-hosted servers have no DDoS protection and your IP address is visible to all players.

Option 2: Host It on a VPS

A VPS is a server in a data centre that you rent by the month. You install the Minecraft server on it the same way as on your own PC, and it stays online when your PC is off. You get:

With Glitch Servers, a game server VPS starts at £8.99/mo on Ryzen 9 hardware with NVMe SSD storage, and Glitch Guard DDoS protection is included.

Server Configuration Essentials

Key settings in server.properties:

Frequently Asked Questions

For 1 to 5 players vanilla, 2GB is enough. For 10+ players or modded servers, 4 to 8GB is recommended. Large modpacks like ATM9 need 8 to 12GB.
Self-hosting on your own PC is free but has limitations (uptime, performance, security). A VPS starts from a few pounds per month, stays online around the clock and keeps your home IP address private.
Yes. Download the Bedrock Dedicated Server from minecraft.net. Configuration is similar to Java but uses a different properties file.
Only if self-hosting. You need to forward port 25565 (Java) or 19132 (Bedrock) on your router. A VPS has its own public IP address, so there is nothing to forward.

Conclusion

Making a Minecraft server is straightforward whether you self-host or use a hosting provider. For casual play with a few friends, self-hosting works. For anything larger, public, or modded, a VPS gives you better performance, security, and uptime.

Run Your Own Minecraft Server

A UK VPS on AMD Ryzen 9 with NVMe, full root access and Glitch Guard DDoS protection. From £8.99/mo.

Game Server VPS → All VPS Plans
← Back to Guides