{"id":928,"date":"2026-08-21T23:38:30","date_gmt":"2026-08-21T23:38:30","guid":{"rendered":"https:\/\/bestdedicatedwebhostingserver.com\/blog\/?p=928"},"modified":"2026-08-21T23:38:30","modified_gmt":"2026-08-21T23:38:30","slug":"minecraft-server-setup-dedicated-hardware","status":"publish","type":"post","link":"https:\/\/bestdedicatedwebhostingserver.com\/blog\/minecraft-server-setup-dedicated-hardware\/","title":{"rendered":"How to Set Up a Minecraft Server on Dedicated Hardware"},"content":{"rendered":"<p class=\"wp-block-paragraph\">A Minecraft server is one of the few game workloads where single-thread CPU speed still decides performance, so renting a full dedicated box and configuring it properly beats any shared host for vanilla, modded, and large multiplayer servers. This walkthrough covers the full path: picking an OS, installing Java, downloading and configuring the server, running it as a service that survives crashes, opening the right ports, and sizing the hardware to your player count.<\/p><h2 class=\"wp-block-heading\">Before you start: what you need<\/h2><ul class=\"wp-block-list\"><li>A dedicated server with at least 4 cores and 8 GB of RAM (more below).<\/li><li>Ubuntu 22.04 or 24.04 LTS &mdash; the safest choice for Minecraft hosting.<\/li><li>Java 21 for Minecraft 1.20.5+ (Temurin or OpenJDK builds both work).<\/li><li>A static IPv4 address; your provider assigns one with the box.<\/li><li>An SSH client; everything here happens from the command line.<\/li><\/ul><h2 class=\"wp-block-heading\">Step 1 &mdash; create a dedicated user and install Java<\/h2><p class=\"wp-block-paragraph\">Run the server as an unprivileged user, never root. Create a <code>minecraft<\/code> user, then install Java 21:<\/p><pre class=\"wp-block-code\"><code>sudo adduser minecraft\nsudo apt update &amp;&amp; sudo apt install -y openjdk-21-jre-headless\njava -version<\/code><\/pre><p class=\"wp-block-paragraph\">Confirm the output reports Java 21. Older Java versions will refuse to start current server jars, and newer preview builds can introduce GC regressions, so pin the LTS release.<\/p><h2 class=\"wp-block-heading\">Step 2 &mdash; download the server jar<\/h2><p class=\"wp-block-paragraph\">Download the official server jar from Mojang&#8217;s version manifest rather than random mirrors. For the latest release the URL pattern is:<\/p><pre class=\"wp-block-code\"><code>wget https:\/\/piston-data.mojang.com\/v1\/objects\/&lt;hash&gt;\/server.jar<\/code><\/pre><p class=\"wp-block-paragraph\">The hash changes per version &mdash; fetch it from the manifest at piston-meta.mojang.com (version_manifest_v2.json) or use a helper script that resolves it automatically. Create a world directory, accept the EULA in eula.txt (<code>eula=true<\/code>), and do a first run to generate server.properties:<\/p><pre class=\"wp-block-code\"><code>mkdir \/opt\/minecraft &amp;&amp; cd \/opt\/minecraft\njava -Xmx2G -jar server.jar nogui   # first run generates files, then exits<\/code><\/pre><h2 class=\"wp-block-heading\">Step 3 &mdash; memory flags and start script<\/h2><p class=\"wp-block-paragraph\">Java edition is garbage-collection bound, so JVM flags matter more than raw RAM. A solid start script for an 8&ndash;12 GB server:<\/p><pre class=\"wp-block-code\"><code>java -Xms4G -Xmx8G -XX:+UseG1GC -XX:+ParallelRefProcEnabled \\\n     -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions \\\n     -XX:+DisableExplicitGC -jar server.jar nogui<\/code><\/pre><p class=\"wp-block-paragraph\">Aikar&#8217;s flags are the community standard for 1.17+. Set Xmx to roughly half the machine&#8217;s RAM for a single server and leave headroom for the OS, world pre-generation, and backups. On a box with 32 GB you can comfortably run two or three servers by splitting the memory and pinning each to its own core set.<\/p><h2 class=\"wp-block-heading\">Step 4 &mdash; run it as a systemd service<\/h2><p class=\"wp-block-paragraph\">A systemd unit gives you automatic restarts on crash and clean start\/stop on boot. Create <code>\/etc\/systemd\/system\/minecraft.service<\/code> with the start script as ExecStart, set <code>Restart=on-failure<\/code>, and run <code>systemctl enable minecraft<\/code>. This is the difference between a server that is down at 3 a.m. and one your players never notice failing.<\/p><h2 class=\"wp-block-heading\">Step 5 &mdash; firewall and ports<\/h2><p class=\"wp-block-paragraph\">Java edition uses TCP 25565 (plus UDP for the newer transfer\/query features); Bedrock dedicated servers use UDP 19132. On Ubuntu, allow only what you need:<\/p><pre class=\"wp-block-code\"><code>sudo ufw allow 25565\/tcp\nsudo ufw allow 19132\/udp<\/code><\/pre><p class=\"wp-block-paragraph\">If you run multiple servers on one box, give each its own port and bind them to different cores &mdash; a dedicated machine is exactly where multi-instance setups make sense.<\/p><h2 class=\"wp-block-heading\">Sizing by player count<\/h2><p class=\"wp-block-paragraph\">These baselines assume vanilla or lightly modded Java edition with default view-distance. Modded packs multiply every number in the RAM column.<\/p><figure class=\"wp-block-table\"><table><thead><tr><th>Players<\/th><th>CPU<\/th><th>RAM<\/th><th>Notes<\/th><\/tr><\/thead><tbody><tr><td>Up to 10<\/td><td>2&ndash;4 cores (high clock)<\/td><td>4&ndash;6 GB<\/td><td>view-distance 8<\/td><\/tr><tr><td>Up to 25<\/td><td>4&ndash;6 cores<\/td><td>8&ndash;12 GB<\/td><td>pre-generate the world<\/td><\/tr><tr><td>Up to 50<\/td><td>6&ndash;8 cores<\/td><td>16&ndash;24 GB<\/td><td>tune simulation-distance<\/td><\/tr><tr><td>100+ \/ modded<\/td><td>8+ cores<\/td><td>32 GB+<\/td><td>separate proxy or multi-instance<\/td><\/tr><\/tbody><\/table><\/figure><h2 class=\"wp-block-heading\">Step 6 &mdash; pre-generate the world and tune<\/h2><p class=\"wp-block-paragraph\">Chunk generation is the single biggest source of lag on a new server. Pre-generate a radius around spawn (plugins like Chunky make this a one-command job), then set view-distance and simulation-distance in server.properties to values your CPU can sustain. Watch the GC logs: if pauses exceed 200 ms regularly, raise Xmx or reduce view-distance.<\/p><h2 class=\"wp-block-heading\">Step 7 &mdash; backups<\/h2><p class=\"wp-block-paragraph\">Copy the world folder on a schedule &mdash; a cron job with tar plus an off-server destination beats any plugin. Stop-and-copy is safest: with the systemd service, a short stop, rsync, and start loop keeps the world consistent without corrupted region files.<\/p><h2 class=\"wp-block-heading\">Bottom line<\/h2><p class=\"wp-block-paragraph\">A Minecraft server on dedicated hardware is a solved problem: unprivileged user, current Java, tuned JVM flags, systemd supervision, correct ports, and pre-generated chunks. Do those five things and the hardware will outlast your player base&#8217;s interest. If you are still choosing a provider, <a href=\"https:\/\/bestdedicatedwebhostingserver.com\/#providers\">compare dedicated server plans in our provider table<\/a> and pick one with a current-generation CPU &mdash; single-thread speed is the spec that matters most for Minecraft.<\/p><p class=\"wp-block-paragraph\">Need dedicated hardware that can run this workload without breaking a sweat? InterServer&#8217;s dedicated server lineup offers current-generation CPUs, NVMe storage, and always-on DDoS protection &mdash; <a href=\"https:\/\/interserver.net\/r\/1067805?url=interserver.net\/dedicated\/\" rel=\"noreferrer noopener sponsored\" target=\"_blank\">check InterServer dedicated servers here<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>A Minecraft server is one of the few game workloads where single-thread CPU speed still decides performance, so renting a full dedicated box and configuring it properly beats any shared&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":0,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-928","post","type-post","status-publish","format-standard","hentry","category-server-guides-tutorials"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.1 (Yoast SEO v26.1) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Set Up a Minecraft Server on Dedicated Hardware - Best Dedicated Web Hosting Server Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/bestdedicatedwebhostingserver.com\/blog\/minecraft-server-setup-dedicated-hardware\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Set Up a Minecraft Server on Dedicated Hardware\" \/>\n<meta property=\"og:description\" content=\"How to Set Up a Minecraft Server on Dedicated Hardware\" \/>\n<meta property=\"og:url\" content=\"https:\/\/bestdedicatedwebhostingserver.com\/blog\/minecraft-server-setup-dedicated-hardware\/\" \/>\n<meta property=\"og:site_name\" content=\"Best Dedicated Web Hosting Server Blog\" \/>\n<meta property=\"article:published_time\" content=\"2026-08-21T23:38:30+00:00\" \/>\n<meta name=\"author\" content=\"bestdedicatedwebhostingserver\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bestdedicatedwebhostingserver\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"bestdedicatedwebhostingserver\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/bestdedicatedwebhostingserver.com\/blog\/minecraft-server-setup-dedicated-hardware\/\",\"url\":\"https:\/\/bestdedicatedwebhostingserver.com\/blog\/minecraft-server-setup-dedicated-hardware\/\",\"name\":\"How to Set Up a Minecraft Server on Dedicated Hardware - Best Dedicated Web Hosting Server Blog\",\"isPartOf\":{\"@id\":\"https:\/\/bestdedicatedwebhostingserver.com\/blog\/#website\"},\"datePublished\":\"2026-08-21T23:38:30+00:00\",\"author\":{\"@id\":\"https:\/\/bestdedicatedwebhostingserver.com\/blog\/#\/schema\/person\/6eb5f9ea35033fe8e67df44397e089b1\"},\"breadcrumb\":{\"@id\":\"https:\/\/bestdedicatedwebhostingserver.com\/blog\/minecraft-server-setup-dedicated-hardware\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/bestdedicatedwebhostingserver.com\/blog\/minecraft-server-setup-dedicated-hardware\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/bestdedicatedwebhostingserver.com\/blog\/minecraft-server-setup-dedicated-hardware\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/bestdedicatedwebhostingserver.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Set Up a Minecraft Server on Dedicated Hardware\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/bestdedicatedwebhostingserver.com\/blog\/#website\",\"url\":\"https:\/\/bestdedicatedwebhostingserver.com\/blog\/\",\"name\":\"Best Dedicated Web Hosting Server Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/bestdedicatedwebhostingserver.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/bestdedicatedwebhostingserver.com\/blog\/#\/schema\/person\/6eb5f9ea35033fe8e67df44397e089b1\",\"name\":\"bestdedicatedwebhostingserver\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/bestdedicatedwebhostingserver.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/462a07aa37399bdb149e5f91dc3cd8906656bc4c7ed391a3b6f0199c5d2ab964?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/462a07aa37399bdb149e5f91dc3cd8906656bc4c7ed391a3b6f0199c5d2ab964?s=96&d=mm&r=g\",\"caption\":\"bestdedicatedwebhostingserver\"},\"sameAs\":[\"https:\/\/bestdedicatedwebhostingserver.com\/blog\",\"https:\/\/x.com\/bestdedicatedwebhostingserver\"],\"url\":\"https:\/\/bestdedicatedwebhostingserver.com\/blog\/author\/bestdedicatedwebhostingserver\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Set Up a Minecraft Server on Dedicated Hardware - Best Dedicated Web Hosting Server Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/bestdedicatedwebhostingserver.com\/blog\/minecraft-server-setup-dedicated-hardware\/","og_locale":"en_US","og_type":"article","og_title":"How to Set Up a Minecraft Server on Dedicated Hardware","og_description":"How to Set Up a Minecraft Server on Dedicated Hardware","og_url":"https:\/\/bestdedicatedwebhostingserver.com\/blog\/minecraft-server-setup-dedicated-hardware\/","og_site_name":"Best Dedicated Web Hosting Server Blog","article_published_time":"2026-08-21T23:38:30+00:00","author":"bestdedicatedwebhostingserver","twitter_card":"summary_large_image","twitter_creator":"@bestdedicatedwebhostingserver","twitter_misc":{"Written by":"bestdedicatedwebhostingserver","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/bestdedicatedwebhostingserver.com\/blog\/minecraft-server-setup-dedicated-hardware\/","url":"https:\/\/bestdedicatedwebhostingserver.com\/blog\/minecraft-server-setup-dedicated-hardware\/","name":"How to Set Up a Minecraft Server on Dedicated Hardware - Best Dedicated Web Hosting Server Blog","isPartOf":{"@id":"https:\/\/bestdedicatedwebhostingserver.com\/blog\/#website"},"datePublished":"2026-08-21T23:38:30+00:00","author":{"@id":"https:\/\/bestdedicatedwebhostingserver.com\/blog\/#\/schema\/person\/6eb5f9ea35033fe8e67df44397e089b1"},"breadcrumb":{"@id":"https:\/\/bestdedicatedwebhostingserver.com\/blog\/minecraft-server-setup-dedicated-hardware\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/bestdedicatedwebhostingserver.com\/blog\/minecraft-server-setup-dedicated-hardware\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/bestdedicatedwebhostingserver.com\/blog\/minecraft-server-setup-dedicated-hardware\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/bestdedicatedwebhostingserver.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Set Up a Minecraft Server on Dedicated Hardware"}]},{"@type":"WebSite","@id":"https:\/\/bestdedicatedwebhostingserver.com\/blog\/#website","url":"https:\/\/bestdedicatedwebhostingserver.com\/blog\/","name":"Best Dedicated Web Hosting Server Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/bestdedicatedwebhostingserver.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/bestdedicatedwebhostingserver.com\/blog\/#\/schema\/person\/6eb5f9ea35033fe8e67df44397e089b1","name":"bestdedicatedwebhostingserver","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/bestdedicatedwebhostingserver.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/462a07aa37399bdb149e5f91dc3cd8906656bc4c7ed391a3b6f0199c5d2ab964?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/462a07aa37399bdb149e5f91dc3cd8906656bc4c7ed391a3b6f0199c5d2ab964?s=96&d=mm&r=g","caption":"bestdedicatedwebhostingserver"},"sameAs":["https:\/\/bestdedicatedwebhostingserver.com\/blog","https:\/\/x.com\/bestdedicatedwebhostingserver"],"url":"https:\/\/bestdedicatedwebhostingserver.com\/blog\/author\/bestdedicatedwebhostingserver\/"}]}},"_links":{"self":[{"href":"https:\/\/bestdedicatedwebhostingserver.com\/blog\/wp-json\/wp\/v2\/posts\/928","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bestdedicatedwebhostingserver.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bestdedicatedwebhostingserver.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bestdedicatedwebhostingserver.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bestdedicatedwebhostingserver.com\/blog\/wp-json\/wp\/v2\/comments?post=928"}],"version-history":[{"count":1,"href":"https:\/\/bestdedicatedwebhostingserver.com\/blog\/wp-json\/wp\/v2\/posts\/928\/revisions"}],"predecessor-version":[{"id":931,"href":"https:\/\/bestdedicatedwebhostingserver.com\/blog\/wp-json\/wp\/v2\/posts\/928\/revisions\/931"}],"wp:attachment":[{"href":"https:\/\/bestdedicatedwebhostingserver.com\/blog\/wp-json\/wp\/v2\/media?parent=928"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bestdedicatedwebhostingserver.com\/blog\/wp-json\/wp\/v2\/categories?post=928"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bestdedicatedwebhostingserver.com\/blog\/wp-json\/wp\/v2\/tags?post=928"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}