Skip to content
  • Hosting and publishing
  • Linux VPS
  • Ubuntu 24.04

Minecraft server VPS hosting

A Minecraft Java server runs well on a GhostRDP Linux VPS Standard plan with 4 vCPU and 8 GB RAM in Germany or the Netherlands, from €12.99/mo.

Your own server stays online for your friends whether your PC is on or not, with full control over settings, plugins and backups. This guide installs Mojang's official server for Java Edition.

  • Online 24/7

    Friends can play while your own PC is off.

  • Dedicated resources

    KVM cores and RAM that are only yours.

  • DDoS protection

    Included on every plan.

Plans for Minecraft server

Memory is what Minecraft uses most. Basic suits a few friends; Standard gives room for more players and a larger world; pick Pro for modpacks or many players.

  • Linux VPS Basic

    €5.99/mo

    €5.09/mo billed yearly, save €10/year

    • 2 vCPU
    • 6 GB ECC RAM
    • 40 GB NVMe
    • 1 Gbps port
    Order Basic
  • Linux VPS Standard

    Recommended

    €12.99/mo

    €11.04/mo billed yearly, save €23/year

    • 4 vCPU
    • 8 GB ECC RAM
    • 70 GB NVMe
    • 1 Gbps port
    Order Standard
  • Linux VPS Pro

    €25.99/mo

    €22.09/mo billed yearly, save €46/year

    • 6 vCPU
    • 12 GB ECC RAM
    • 90 GB NVMe
    • 1 Gbps port
    Order Pro

What you need

  • Operating system
    Linux VPS with Ubuntu 24.04
  • Java
    Java 21, which current Minecraft versions need
  • Game
    Minecraft: Java Edition on each player's computer

Official site: minecraft.net

How to install Minecraft server

Written for Ubuntu 24.04 from the official instructions. Run the commands as root and replace YOUR_SERVER_IP with your server's address.

  1. 1

    Connect to your server over SSH

    Use the IP address and root password from your welcome email (the server page has a Copy SSH command button). Windows 10 and 11, macOS and Linux all include an SSH client in the terminal.

    Shell
    ssh root@YOUR_SERVER_IP
  2. 2

    Update the system

    Install the latest security updates before you add anything else.

    Shell
    apt update && apt -y upgrade
  3. 3

    Install Java 21

    Ubuntu 24.04 includes OpenJDK 21.

    Shell
    apt install -y openjdk-21-jre-headless
    java -version
  4. 4

    Download the official server

    On minecraft.net/download/server, copy the link to the current server .jar and paste it in place of SERVER_JAR_URL.

    Shell
    useradd --system --create-home --home-dir /opt/minecraft minecraft
    cd /opt/minecraft
    wget -O server.jar SERVER_JAR_URL
  5. 5

    Accept the EULA

    Running the server requires accepting Mojang's EULA. The first start then creates the world and server.properties.

    Shell
    echo 'eula=true' > eula.txt
    chown -R minecraft:minecraft /opt/minecraft
  6. 6

    Run it as a service

    Starts the server on boot with 4 GB of memory. Raise -Xmx on bigger plans, keeping about 1 GB for the system.

    Shell
    cat > /etc/systemd/system/minecraft.service <<EOF
    [Unit]
    Description=Minecraft server
    After=network-online.target
    
    [Service]
    User=minecraft
    WorkingDirectory=/opt/minecraft
    ExecStart=/usr/bin/java -Xms1G -Xmx4G -jar server.jar nogui
    Restart=on-failure
    
    [Install]
    WantedBy=multi-user.target
    EOF
    systemctl enable --now minecraft
    ufw allow 22/tcp
    ufw allow 25565/tcp
    ufw enable

After installing

  • Join
    In Minecraft, choose Multiplayer > Add Server and enter your server's IP address. The default port is 25565.
  • Settings
    Edit /opt/minecraft/server.properties (for example white-list=true) and run systemctl restart minecraft.
  • Back up your world
    No backups are included with our servers. Copy the world folder elsewhere now and then.

Minecraft server questions

Which plan do I need for a Minecraft server?

Basic for a few friends, Standard for more players or a larger world, Pro for modpacks. Memory matters most.

Java or Bedrock?

This guide is for Java Edition. Mojang also offers a Bedrock dedicated server for players on consoles and phones.

Can I use Paper or mods?

Yes. You have full root access, so you can run Paper, Fabric or Forge instead of the official server.

Are backups included?

No. Copy your world folder to another place regularly, or set up a backup tool on the server.

Stuck on a step? Our team answers on live chat and in tickets.

More on GhostRDP

Run Minecraft server on your own server.

Online in minutes. Pay with crypto, no ID needed.