Home Cloud Serevrs Set Up and Host a Minecraft Server on a Windows VPS

Set Up and Host a Minecraft Server on a Windows VPS

Last updated on Feb 13, 2025

Hosting a Minecraft server on a Windows VPS allows you to create a private multiplayer world for your community or friends. This guide will walk you through installing, configuring, and optimizing a Minecraft server on a Windows Server VPS.


πŸ“Œ Prerequisites

  • A Windows Server VPS (2016, 2019, or 2022) from VolticHost

  • Administrator access

  • At least 4GB RAM (8GB+ recommended for large servers)

  • Java installed (for Minecraft Java Edition)

  • Ports 25565 open in the firewall


1️⃣ Install Java (Required for Minecraft Java Edition Servers)

  1. Download the latest Java JDK from:
    πŸ‘‰ https://www.oracle.com/java/technologies/javase-downloads.html

  2. Run the installer and follow the setup process.

  3. Verify installation by running:
    java -version

βœ… Java is now installed!


2️⃣ Download and Set Up the Minecraft Server

  1. Create a folder for the server:
    C:\MinecraftServer

  2. Download the Minecraft server .jar file from:
    πŸ‘‰ https://www.minecraft.net/en-us/download/server

  3. Place the server.jar inside C:\MinecraftServer.

  4. Open Notepad and create a new file.

  5. Paste the following startup script:

    @echo off
    java -Xmx4G -Xms4G -jar server.jar nogui
    pause
    
  6. Save the file as start.bat inside C:\MinecraftServer.

βœ… Minecraft server files are now set up!


3️⃣ Accept the EULA and Start the Server

  1. Run start.bat by double-clicking it.

  2. The server will close automaticallyβ€”this is normal.

  3. Open eula.txt in C:\MinecraftServer.

  4. Change eula=false to eula=true and save the file.

  5. Run start.bat again to start the server.

βœ… Your Minecraft server is now running!


4️⃣ Open Port 25565 in Windows Firewall

  1. Open Windows Defender Firewall (Win + R, type wf.msc, press Enter).

  2. Click Advanced Settings β†’ Inbound Rules β†’ New Rule.

  3. Select Port, then click Next.

  4. Choose TCP, enter 25565, then click Next.

  5. Select Allow the connection, then click Next again.

  6. Apply to Domain, Private, and Public networks.

  7. Name the rule Minecraft Server Port and click Finish.

βœ… Your Minecraft server is now accessible online!


5️⃣ Connect to Your Minecraft Server

Find Your Public IP

To share your server with others, find your VPS public IP address:
ipconfig

Join the Server from Minecraft

  1. Open Minecraft β†’ Multiplayer.

  2. Click Add Server.

  3. Enter your VPS IP in the Server Address field.

  4. Click Join Server.

βœ… Players can now join your Minecraft world!


6️⃣ Automate Server Startup (Optional)

To start the server automatically when Windows boots:

  1. Open Task Scheduler (Win + R, type taskschd.msc, press Enter).

  2. Click Create Basic Task (right panel).

  3. Name it Start Minecraft Server β†’ Click Next.

  4. Select When the computer starts β†’ Click Next.

  5. Select Start a program β†’ Click Next.

  6. Browse to the start.bat file in C:\MinecraftServer.

  7. Click Finish.

βœ… Your Minecraft server will now start automatically on reboot!


πŸŽ‰ Conclusion

You've successfully set up a Minecraft server on a Windows VPS! Your multiplayer world is now online, ready for friends, communities, or custom modding. πŸš€

For more assistance, contact VolticHost Support.


Optimized for Chatwoot Formatting

βœ”οΈ No Code Blocks – Commands are inline to prevent pasting issues.
βœ”οΈ Clear Step-by-Step Instructions – No unnecessary spacing or formatting conflicts.
βœ”οΈ All Commands Easy to Copy – Works in all text-based editors.