{"id":81932,"date":"2026-06-18T07:45:00","date_gmt":"2026-06-18T14:45:00","guid":{"rendered":"https:\/\/dhblog.dream.press\/blog\/?p=81932"},"modified":"2026-06-18T07:45:14","modified_gmt":"2026-06-18T14:45:14","slug":"nextcloud-vps","status":"publish","type":"post","link":"https:\/\/www.dreamhost.com\/blog\/nextcloud-vps\/","title":{"rendered":"How to Set Up Nextcloud on a VPS"},"content":{"rendered":"<div class=\"tldr-block\" style=\"display: none;\">\n\t<div class=\"svg\">\n\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 119.25 37.8\">\n\t<g>\n\t\t<g>\n\t\t\t<path fill=\"#ffffff\" d=\"M23.4,6.93h-8.1v24.57h-7.2V6.93H0V0h23.4v6.93Z\" \/>\n\t\t\t<path fill=\"#ffffff\" d=\"M45,24.57v6.93h-18.45V0h7.2v24.57h11.25Z\" \/>\n\t\t\t<path fill=\"#ffffff\"\n\t\t\t\td=\"M90.9,15.75c0,8.91-6.61,15.75-15.3,15.75h-12.6V0h12.6c8.68,0,15.3,6.84,15.3,15.75ZM83.97,15.75c0-5.4-3.42-8.82-8.37-8.82h-5.4v17.64h5.4c4.95,0,8.37-3.42,8.37-8.82Z\" \/>\n\t\t\t<path fill=\"#ffffff\"\n\t\t\t\td=\"M105.57,21.15h-3.42v10.35h-7.2V0h12.6c5.98,0,10.8,4.81,10.8,10.8,0,3.87-2.34,7.38-5.81,9.13l6.71,11.56h-7.74l-5.94-10.35ZM102.15,14.85h5.4c1.98,0,3.6-1.75,3.6-4.05s-1.62-4.05-3.6-4.05h-5.4v8.1Z\" \/>\n\t\t<\/g>\n\t\t<path\n\t\t\tfill=\"#0173ec\"\n\t\t\td=\"M53.97,37.8h-5.4l1.8-13.27h7.2l-3.6,13.27ZM49.02,12.55c0-2.34,1.93-4.27,4.27-4.27s4.27,1.94,4.27,4.27-1.93,4.27-4.27,4.27-4.27-1.94-4.27-4.27Z\"\n\t\t \/>\n\t<\/g>\n<\/svg>\n\t<\/div>\n\t<div class=\"tldr-wrap\">\n\t\t\n\n<p class=\"wp-block-paragraph\">Nextcloud on a VPS is file sync, sharing, and collaboration software running on a Linux server you control.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can install it three ways:&nbsp;<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>The official All-in-One Docker image<\/li>\n\n\n\n<li>Manual Docker Compose<\/li>\n\n\n\n<li>Bare-metal LAMP stack<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">The flat monthly VPS fee stays flat regardless of team size, while Google Workspace Business Standard scales linearly at $14 per user per month. Stack 8 (8 GB RAM) is the recommended baseline for most small teams.<\/p>\n\n\n\t<\/div>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Oh, Google Drive.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Keeper of lost documents and forgotten drafts.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Charger of $14 per person per month.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">What fresh new horrors await inside thine hallowed (and hollow) folders?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Wait\u2026 what\u2019s that?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A spreadsheet called &#8220;Untitled spreadsheet (7)&#8221; that contains, against all odds, the company&#8217;s actual Q4 budget?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Hmm. Okay, maybe it\u2019s time to clean things up.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Next time you find yourself eyeing that Google Drive bill you\u2019ve been ignoring, here\u2019s a better idea.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Cue: <a target=\"_blank\" href=\"https:\/\/www.dreamhost.com\/hosting\/self-managed-vps\/nextcloud\/\">Self-hosted Nextcloud<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Nextcloud is free software that runs the same kind of file-sync-and-share format on a server you own, with no curator, no ad-relevance scanning, and no per-seat charge.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here\u2019s how to get it running, what it actually costs, and whether the tradeoff is worth it for your team.<\/p>\n\n\n\n<h2 id=\"h-why-run-nextcloud-instead-of-using-google-drive\" class=\"wp-block-heading\">Why Run Nextcloud Instead of Using Google Drive?<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1600\" height=\"1200\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/06\/01_who_controls_the_files.webp\" alt=\"Diagram comparing file ownership: Google Drive files controlled by Google's servers versus Nextcloud on VPS with your own server.\" class=\"wp-image-81935 lazyload\" data-srcset=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/06\/01_who_controls_the_files.webp 1600w, https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/06\/01_who_controls_the_files-300x225.webp 300w, https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/06\/01_who_controls_the_files-1024x768.webp 1024w, https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/06\/01_who_controls_the_files-768x576.webp 768w, https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/06\/01_who_controls_the_files-1536x1152.webp 1536w, https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/06\/01_who_controls_the_files-600x450.webp 600w, https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/06\/01_who_controls_the_files-1200x900.webp 1200w, https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/06\/01_who_controls_the_files-730x548.webp 730w, https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/06\/01_who_controls_the_files-1460x1095.webp 1460w, https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/06\/01_who_controls_the_files-784x588.webp 784w, https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/06\/01_who_controls_the_files-1568x1176.webp 1568w, https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/06\/01_who_controls_the_files-877x658.webp 877w\" data-sizes=\"(max-width: 1600px) 100vw, 1600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1600px; --smush-placeholder-aspect-ratio: 1600\/1200;\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The short answer: your files, your server, your rules.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Google Drive stores your data on its own infrastructure and scans it against policy compliance. If served with a legal warrant, Google hands your files over, often without notifying you first.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">But<a target=\"_blank\" href=\"https:\/\/www.dreamhost.com\/hosting\/self-managed-vps\/nextcloud\/\"> self-hosted Nextcloud<\/a> stores your files on a server you control, in whatever jurisdiction you choose, with the encryption keys in your hands.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For a lot of small teams, that\u2019s reason enough. For those handling regulated data \u2014 medical records, legal files, anything touching GDPR or HIPAA \u2014 it\u2019s less of a preference and more of a requirement.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The other reason is cost, which we\u2019ll get into more in the next section. But the short version is that Google Workspace charges per user per month. Nextcloud doesn\u2019t.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Where Google still wins: real-time co-authoring in Google Docs is more polished than Nextcloud\u2019s Office integrations, and Google Meet beats Nextcloud Talk on video call quality at scale. If those are your team\u2019s core workloads, that\u2019s worth factoring in.<br><br>But if you mostly need file sync, shared calendars, contacts, and chat, Nextcloud covers all of it, on infrastructure you own.<\/p>\n\n\n\n<div class=\"article-newsletter article-newsletter--gradient\">\n\n\n<h2>Get Content Delivered Straight to Your Inbox<\/h2><p>Subscribe now to receive all the latest updates, delivered directly to your inbox.<\/p><form class=\"nwsl-form\" id=\"newsletter_block_\" novalidate><div class=\"messages\"><\/div><div class=\"form-group\"><label for=\"input_newsletter_block_\"><input type=\"email\"name=\"email\"id=\"input_newsletter_block_\"placeholder=\"Enter your email address\"novalidatedisabled=\"disabled\"\/><\/label><button type=\"submit\"class=\"btn btn--brand\"disabled=\"disabled\"><span>Sign Me Up!<\/span><svg width=\"21\" height=\"14\" viewBox=\"0 0 21 14\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\">\n<path d=\"M13.8523 0.42524L12.9323 1.34521C12.7095 1.56801 12.7132 1.9304 12.9404 2.14865L16.7241 5.7823H0.5625C0.251859 5.7823 0 6.03416 0 6.3448V7.6573C0 7.96794 0.251859 8.2198 0.5625 8.2198H16.7241L12.9405 11.8535C12.7132 12.0717 12.7095 12.4341 12.9323 12.6569L13.8523 13.5769C14.072 13.7965 14.4281 13.7965 14.6478 13.5769L20.8259 7.39879C21.0456 7.17913 21.0456 6.82298 20.8259 6.60327L14.6477 0.42524C14.4281 0.205584 14.0719 0.205584 13.8523 0.42524Z\" fill=\"white\"\/>\n<\/svg>\n<\/button><\/div><\/form><\/div>\n\n\n<h2 id=\"h-can-you-run-nextcloud-on-a-vps\" class=\"wp-block-heading\">Can You Run Nextcloud on a VPS?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Yes, and it\u2019s the most common way people do it.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A virtual private server (<a target=\"_blank\" href=\"https:\/\/www.dreamhost.com\/blog\/beginners-guide-vps\/\">VPS<\/a>) lands in the useful middle ground in deployment options.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It&#8217;s more reliable than a NAS device in your basement (which depends on residential power and your willingness to debug a stuck disk at 11 p.m.). It&#8217;s cheaper than enterprise-managed Nextcloud, which starts at four figures a year. And it&#8217;s more private than Google Workspace, since you control the keys and you pick the legal jurisdiction.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">That said, a VPS isn&#8217;t always the right fit. Above roughly 50 active users, a dedicated server makes more sense. If you only need access on the home network and never sync to phones outside it, NAS is the simpler answer.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><strong>Deployment<\/strong><\/th><th><strong>Best For<\/strong><\/th><th><strong>Trade-Off<\/strong><\/th><\/tr><\/thead><tbody><tr><td><strong>VPS<\/strong><\/td><td>1\u201350 users, remote sync, predictable cost<\/td><td>You manage the OS and updates<\/td><\/tr><tr><td><strong>NAS at home<\/strong><\/td><td>LAN-only access, household photo libraries<\/td><td>Residential uptime, no static IP<\/td><\/tr><tr><td><strong>Dedicated server<\/strong><\/td><td>50+ active users, heavy Talk\/Office use<\/td><td>Multi-hundred-dollar monthly cost<\/td><\/tr><tr><td><strong>Managed Nextcloud<\/strong><\/td><td>Teams that want zero ops<\/td><td>Per-user pricing eats the savings<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">For most readers comparing <a target=\"_blank\" href=\"https:\/\/www.dreamhost.com\/blog\/self-hosting\/\">self-hosting<\/a> options, a VPS plus the official <a target=\"_blank\" href=\"https:\/\/github.com\/nextcloud\/all-in-one\">All-in-One Docker image<\/a> is the right answer. And that\u2019s what we cover in the rest of this guide.<\/p>\n\n\n\n<h2 id=\"h-what-does-it-cost-to-self-host-nextcloud-compared-to-google-workspace\" class=\"wp-block-heading\">What Does It Cost to Self-Host Nextcloud Compared to Google Workspace?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Nextcloud\u2019s software is free. You pay only for the server it runs on, and that changes the math pretty quickly once you have more than a handful of users.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a target=\"_blank\" href=\"https:\/\/workspace.google.com\/pricing\">Google Workspace charges per user per month<\/a>. Most teams land on the Business Standard plan at $14 per user per month on an annual commitment, which includes 2 TB of pooled storage per license and most of the collaboration features. <a target=\"_blank\" href=\"https:\/\/www.dreamhost.com\/hosting\/self-managed-vps\/nextcloud\/\">Self-hosted Nextcloud<\/a> runs on a flat fee from a VPS provider regardless of how many users you add.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here&#8217;s how that typically plays out:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><strong>Team Size<\/strong><\/th><th><strong>Workspace Standard ($14\/user\/mo)<\/strong><\/th><th><strong>Self-Hosted Nextcloud (flat VPS fee)<\/strong><\/th><\/tr><\/thead><tbody><tr><td>1\u20132 users<\/td><td>$168\u2013336\/year<\/td><td>~$84\u2013144\/year (Stack 4 baseline)<\/td><\/tr><tr><td>5 users<\/td><td>$840\/year<\/td><td>~$360\/year (Stack 8)<\/td><\/tr><tr><td>10 users<\/td><td>$1,680\/year<\/td><td>~$360\/year<\/td><\/tr><tr><td>20 users<\/td><td>$3,360\/year<\/td><td>~$700\/year (Stack 16 territory)<\/td><\/tr><tr><td>50 users<\/td><td>$8,400\/year<\/td><td>~$700\/year<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Five Workspace seats at $14 a month run $840 a year. A Stack 8 VPS runs roughly $360. The difference at 20 users is over $2,500 \u2014&nbsp;enough for a round-trip flight to somewhere with a beach, or about six months of decent coffee.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Two important caveats before you get <em>too<\/em> excited:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Nextcloud isn&#8217;t <em>truly<\/em> free if you count your time<\/strong>. Budget two to four hours a month for updates and monitoring. At any reasonable hourly rate, that erases the cost advantage at one or two users.<\/li>\n\n\n\n<li><strong>The comparison only works if Nextcloud meets your team&#8217;s needs. <\/strong>For most file sync, calendar, contacts, and chat workloads, it does. But it\u2019s not a perfect Google Workspace replacement, so don&#8217;t pretend the apps are identical.<\/li>\n<\/ol>\n\n\n\n<h2 id=\"h-what-server-specs-does-nextcloud-need\" class=\"wp-block-heading\">What Server Specs Does Nextcloud Need?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The honest minimum for a real team is 8 GB of RAM. You can get Nextcloud running on 2 GB, but that\u2019s a testing environment, not a production one.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The official numbers from <a target=\"_blank\" href=\"https:\/\/docs.nextcloud.com\/server\/stable\/admin_manual\/installation\/system_requirements.html\">Nextcloud&#8217;s system requirements<\/a> are conservative: 128 MB minimum and 512 MB recommended per process. The <a target=\"_blank\" href=\"https:\/\/github.com\/nextcloud\/all-in-one\">Nextcloud All-in-One README<\/a> gives three tiers for the Docker stack:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Bare minimum:<\/strong> 2 GB RAM, dual-core CPU, 40 GB storage to bring AIO up with optional containers enabled.<\/li>\n\n\n\n<li><strong>Recommended:<\/strong> 4 GB RAM for the base stack without optional services. Add Nextcloud Office (Collabora) or Talk, and you&#8217;ll want 6\u20138 GB \u2014 Collabora alone idles at 1\u20132 GB before anyone opens a document.&nbsp;<\/li>\n\n\n\n<li><strong>Everything enabled:<\/strong> 5 GB RAM and a quad-core CPU is the AIO floor when Office, Talk, ClamAV, Whiteboard, and the rest are all turned on \u2014 but in practice, expect to need 8 GB or more once real users are on the box. The Nextcloud team suggests at least 1 GB of headroom over whichever minimum applies.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Those are floors, not targets. Here&#8217;s how it lands once you put real users on the box.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><strong>Use Case<\/strong><\/th><th><strong>Practical RAM<\/strong><\/th><th><strong>DreamHost Plan<\/strong><\/th><\/tr><\/thead><tbody><tr><td>1\u20132 users, files only<\/td><td>4 GB<\/td><td>Stack 4<\/td><\/tr><tr><td>3\u201310 users, files + Office<\/td><td>8 GB<\/td><td>Stack 8 (recommended)<\/td><\/tr><tr><td>10\u201350 users, Talk video at scale<\/td><td>16 GB+<\/td><td>Stack 16<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Storage matters just as much as RAM once you have more than one user. <\/strong>Plan for 5\u201320 GB per active user \u2014 more if people are storing photos or Talk recordings, less if it\u2019s document only. Whatever you estimate, double it for the first six months. Nextcloud&#8217;s versioning and deleted-file retention quietly consume more disk than you&#8217;d expect.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Disk speed also factors in. <\/strong>Nextcloud is, at its heart, a file-sync app. Every sync client opens hundreds of small connections to read and write metadata, and NVMe runs roughly 5 to 10 times faster than a spinning disk on those operations. <em>That&#8217;s the difference between Nextcloud feeling snappy and Nextcloud feeling like a slightly haunted mid-2000s file share.<\/em><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a target=\"_blank\" href=\"https:\/\/www.dreamhost.com\/\">DreamHost<\/a>, a web hosting provider, ships NVMe storage as standard across every <a target=\"_blank\" href=\"https:\/\/www.dreamhost.com\/hosting\/self-managed-vps\/\">Self-Managed VPS<\/a> tier, which is why Stack 8 is our recommended baseline.<\/p>\n\n\n\n<h2 id=\"h-how-do-you-install-nextcloud-on-a-vps\" class=\"wp-block-heading\">How Do You Install Nextcloud on a VPS?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">There are three ways to install Nextcloud on a VPS: the official All-in-One Docker image, manual Docker Compose, or a bare-metal LAMP stack.<em> <\/em>For most people, the answer is the first one. The vast majority of self-hosters should start with the All-in-One Docker image and never look back.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Each path assumes a fresh <a target=\"_blank\" href=\"https:\/\/www.dreamhost.com\/blog\/check-ubuntu-version\/\">Ubuntu 24.04 LTS VPS<\/a> with root access and a domain pointed at it.&nbsp;<\/p>\n\n\n\n<h3 id=\"h-the-fastest-path-nextcloud-all-in-one-docker\" class=\"wp-block-heading\">The Fastest Path: Nextcloud All-in-One Docker<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Nextcloud All-in-One is the official install path, maintained by the Nextcloud team. It runs every service \u2014 server, database, Redis, Office, Talk, backup, and reverse proxy \u2014&nbsp;as managed containers, coordinated by a single master container that handles upgrades, backups, and SSL automatically.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The whole install is one command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo docker run -d \n--init \n--name nextcloud-aio-mastercontainer \n--restart always \n--publish 80:80 \n--publish 8080:8080 \n--publish 8443:8443 \n--volume nextcloud_aio_mastercontainer:\/mnt\/docker-aio-config \n--volume \/var\/run\/docker.sock:\/var\/run\/docker.sock:ro \nghcr.io\/nextcloud-releases\/all-in-one:latest<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">After that, a web setup wizard walks you through the rest at port 8080. Setup takes about an hour for someone comfortable on a Linux command line.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For full instructions, check out the <a target=\"_blank\" href=\"https:\/\/github.com\/nextcloud\/all-in-one\">Nextcloud AIO README<\/a>.<\/p>\n\n\n\n<h3 id=\"h-the-flexible-path-docker-compose\" class=\"wp-block-heading\">The Flexible Path: Docker Compose<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Docker Compose is the right call if you already run other containerized services on the host and want Nextcloud to fit alongside them. You write a <strong>docker-compose.yml<\/strong> listing every service (Nextcloud, MariaDB, Redis, and optionally Collabora or OnlyOffice), and then bring the stack up with:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>docker compose up -d<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The trade-off is that you maintain version pins, networking, and the reverse proxy yourself. If you&#8217;re not sure why you&#8217;d want Compose over All-in-One, you don&#8217;t. Sample Compose files live in the <a target=\"_blank\" href=\"https:\/\/github.com\/nextcloud\/docker\">Docker community repository<\/a>.<\/p>\n\n\n\n<h3 id=\"h-the-traditional-path-apache-mariadb-php\" class=\"wp-block-heading\">The Traditional Path: Apache + MariaDB + PHP<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Bare-metal LAMP is the original install path. Apache or nginx, MariaDB, PHP, and the Nextcloud tarball, no containers. It&#8217;s heavier on maintenance because every component upgrades on its own schedule. Pick this option only if you specifically need to avoid Docker.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Start with:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt install apache2 mariadb-server libapache2-mod-php php-\n{cli,gd,mysql,curl,xml,zip,intl,mbstring,bz2,imagick,bcmath,gmp}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">From there, create the database, drop the Nextcloud tarball into <strong>\/var\/www\/<\/strong>, and run the web installer. The full procedure lives in the <a target=\"_blank\" href=\"http:\/\/docs.nextcloud.com\/server\/latest\/admin_manual\/installation\/\">Nextcloud installation manual<\/a>. (All-in-One exists for a reason.)<\/p>\n\n\n\n<h2 id=\"h-how-do-you-keep-a-self-hosted-nextcloud-running\" class=\"wp-block-heading\">How Do You Keep a Self-Hosted Nextcloud Running?<\/h2>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1600\" height=\"1274\" data-src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/06\/02_how_to_keep_nextcloud_running.webp\" alt=\"Three Nextcloud maintenance essentials: offsite backups, regular updates, and auto-renewing SSL.\" class=\"wp-image-81936 lazyload\" data-srcset=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/06\/02_how_to_keep_nextcloud_running.webp 1600w, https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/06\/02_how_to_keep_nextcloud_running-300x239.webp 300w, https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/06\/02_how_to_keep_nextcloud_running-1024x815.webp 1024w, https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/06\/02_how_to_keep_nextcloud_running-768x612.webp 768w, https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/06\/02_how_to_keep_nextcloud_running-1536x1223.webp 1536w, https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/06\/02_how_to_keep_nextcloud_running-600x478.webp 600w, https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/06\/02_how_to_keep_nextcloud_running-1200x956.webp 1200w, https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/06\/02_how_to_keep_nextcloud_running-730x581.webp 730w, https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/06\/02_how_to_keep_nextcloud_running-1460x1163.webp 1460w, https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/06\/02_how_to_keep_nextcloud_running-784x624.webp 784w, https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/06\/02_how_to_keep_nextcloud_running-1568x1249.webp 1568w, https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/06\/02_how_to_keep_nextcloud_running-877x698.webp 877w\" data-sizes=\"(max-width: 1600px) 100vw, 1600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1600px; --smush-placeholder-aspect-ratio: 1600\/1274;\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Three jobs you can\u2019t skip are backups, version updates, and SSL certificate renewal.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Everything else is mostly keeping an eye on disk usage and occasionally killing a stuck cron job.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Backups <\/strong>need to capture both the data directory and the database. Restoring one without the other gives you a directory full of files that Nextcloud can&#8217;t index.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">All-in-One has a built-in backup container that handles this for you. For a manual install, you run <code>rsync<\/code> for files and <code>mysqldump<\/code> or <code>pg_dump<\/code> for the database in a cron job, then ship the output off the VPS. <a href=\"https:\/\/www.dreamhost.com\/cloud\/storage\/\" target=\"_blank\">DreamObjects<\/a> is one S3-compatible target if you&#8217;d rather keep the backup with the same provider.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Updates<\/strong> are where most Nextcloud installations break. Major version upgrades \u2014 like Hub 25 Autumn to Hub 26 Winter \u2014 can leave third-party apps incompatible for days while maintainers ship new versions.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">All-in-One handles this more gracefully than manual installs because it pins compatible versions across containers and waits for the ecosystem to catch up. The <a target=\"_blank\" href=\"https:\/\/help.nextcloud.com\/\">Nextcloud forums<\/a> are full of bare-metal installs broken by a version mismatch.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>SSL renewal<\/strong> is mostly automatic on All-in-One or any reverse proxy with Let&#8217;s Encrypt. Caddy, Traefik, and Nginx Proxy Manager all renew on their own. Bare-metal LAMP needs <strong>certbot<\/strong> set up correctly the first time, after which it usually behaves.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">One other thing to remember is that <strong>disk space is the boring villain of self-hosting<\/strong>. Nextcloud&#8217;s defaults retain deleted files for 30 days and keep version history on every edit. Talk recordings, uploaded photos, and shared file caches all eat space.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It\u2019s not uncommon for an admin panel to sit at 99% disk for two weeks before anyone notices sync has quietly stopped working. Set retention policies in the admin panel and configure alerts before you hit 90%, not after.&nbsp;<\/p>\n\n\n\n<h2 id=\"h-is-it-time-to-take-the-leap\" class=\"wp-block-heading\">Is It Time to Take the Leap?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">At the end of the day, Google Drive is a pretty expensive way to lug around every file you\u2019ve ever touched over the last 20 years.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">And when you factor in the costs of control and privacy, the case for self-hosting gets harder to ignore.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Nextcloud takes about an hour to install and a few hours a year to maintain, with zero per-seat fees. The trade-off is that you become the curator. You decide what stays, what gets deleted, what gets backed up, and which jurisdiction the data lives in.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For a lot of teams, that\u2019s not a burden. That\u2019s the whole point.&nbsp;<\/p>\n\n\n\n\n<div class=\"article-cta-shared article-cta-small article-cta--product\">\n\t<div class=\"tr-img-wrap-outer jsLoading\"><img decoding=\"async\" class=\"js-img-lazy \" src=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/themes\/blog2018\/assets\/img\/lazy-loading-transparent.webp\" data-srcset=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/06\/cta_image_a-877x522.webp 1x, https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/06\/cta_image_a.webp 2x\"  \/><\/div>\n\n\t<a href='https:\/\/www.dreamhost.com\/hosting\/self-managed-vps\/' class='link-top' target='_blank' rel='noopener noreferrer'>\n\t\t<span>Self-Managed VPS<\/span>\n\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 384 512\" width=\"15\"><path d=\"M342.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L274.7 256 105.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z\"\/><\/svg>\n\t<\/a>\n\n\t<div class=\"content-btm\">\n\t\t<h2 class=\"h2--md\">\n\t\t\tOwn Your Entire Stack. Apps, AI, Databases, and More.\n\t\t<\/h2>\n\t\t<p class=\"p--md\">\n\t\t\tKeep every credential and conversation on a server you control, with NVMe speed and unmetered bandwidth built in.\n\t\t<\/p>\n\n\t\t        <a\n            href=\"https:\/\/www.dreamhost.com\/hosting\/self-managed-vps\/\"\n                        class=\"btn btn--white-outline btn--sm btn--round\"\n                                    target=\"_blank\"\n            rel=\"noopener noreferrer\"\n            >\n                            Explore Self-Managed VPS Plans                    <\/a>\n\n\t<\/div>\n<\/div>\n\n\n<h2 id=\"h-frequently-asked-questions-about-nextcloud-on-a-vps\" class=\"wp-block-heading\">Frequently Asked Questions About Nextcloud on a VPS<\/h2>\n\n\n\n<h3 id=\"h-can-you-run-nextcloud-on-a-5-month-vps\" class=\"wp-block-heading\">Can you run Nextcloud on a $5\/month VPS?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">You can run Nextcloud on a $5 VPS, but the experience is rough above one or two users. A $5 plan typically gives you 1 GB of RAM and a single CPU core, which hits swap quickly under any sync load. The Nextcloud All-in-One image needs 2 GB of RAM as a floor, so the cheapest tier locks you out of the recommended install path entirely. For a household with two devices, 4 GB is the honest minimum, and a DreamHost Stack 4 plan covers that comfortably.<\/p>\n\n\n\n<h3 id=\"h-how-much-storage-does-nextcloud-need-per-user\" class=\"wp-block-heading\">How much storage does Nextcloud need per user?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Plan for 5 to 20 GB of storage per active Nextcloud user. Document-only use stays at the low end. Photos and Talk recordings push the high end up fast. A household with two phones syncing photo libraries can fill 100 GB in a year.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Double your initial guess for the first six months, since Nextcloud&#8217;s default versioning and 30-day deleted-file retention quietly consume disk you didn&#8217;t budget for.<\/p>\n\n\n\n<h3 id=\"h-is-nextcloud-free\" class=\"wp-block-heading\">Is Nextcloud free?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Yes, Nextcloud Server is free and open-source under the AGPLv3 license. Nextcloud GmbH, the company behind the project, sells Enterprise support contracts to large organizations, but everything an individual or small team needs is free: the server software, the All-in-One image, the desktop and mobile clients, and every official app. No per-user fee, no feature paywall, no time-limited trial.<\/p>\n\n\n\n<h3 id=\"h-do-you-need-docker-to-run-nextcloud\" class=\"wp-block-heading\">Do you need Docker to run Nextcloud?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">No, you don&#8217;t need <a target=\"_blank\" href=\"https:\/\/www.dreamhost.com\/blog\/what-is-docker\/\">Docker<\/a> to run Nextcloud, but for most self-hosters, Docker (specifically the All-in-One image) is the easiest install path. Bare-metal LAMP works and is officially supported. Docker is just less fragile to maintain because the All-in-One master container pins compatible versions across the database, PHP runtime, Redis, and the Nextcloud server itself.<\/p>\n\n\n\n<h3 id=\"h-is-a-vps-or-a-nas-better-for-nextcloud\" class=\"wp-block-heading\">Is a VPS or a NAS better for Nextcloud?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A <a target=\"_blank\" href=\"https:\/\/www.dreamhost.com\/hosting\/vps\/\">VPS<\/a> is better when you need reliable remote access, and a NAS is better when files only need to live on the home network. NAS uptime depends on residential power, residential internet, and your willingness to debug a stuck disk at any hour. A VPS gives you a static IP, a real SLA, and a server in a data center with redundant power. The trade-off is a monthly fee instead of a one-time hardware purchase.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a target=\"_blank\" href=\"https:\/\/www.dreamhost.com\/hosting\/self-managed-vps\/\">DreamHost&#8217;s Self-Managed VPS<\/a> Stack 8 is a common choice for households or small teams that have outgrown a NAS.<\/p>\n\n\n\n<h3 id=\"h-how-do-you-back-up-a-self-hosted-nextcloud\" class=\"wp-block-heading\">How do you back up a self-hosted Nextcloud?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Back up the data directory and the database together. Both are required to restore a working Nextcloud. The data directory holds the files, while the database holds the user accounts, share links, version history, and metadata.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The standard approach is <code>rsync<\/code> for files and <code>mysqldump<\/code> or <code>pg_dump<\/code><strong> <\/strong>for the database, written into a nightly cron job that ships both off the VPS to S3-compatible storage like DreamObjects or Backblaze B2. Nextcloud All-in-One has a built-in backup container that handles this on a fresh install.<\/p>\n\n\n<p><script type=\"application\/ld+json\"><br \/>\n{<br \/>\n  \"@context\": \"https:\/\/schema.org\",<br \/>\n  \"@graph\": [<br \/>\n    {<br \/>\n      \"@type\": \"FAQPage\",<br \/>\n      \"mainEntity\": [<br \/>\n        {<br \/>\n          \"@type\": \"Question\",<br \/>\n          \"name\": \"Can you run Nextcloud on a $5\/month VPS?\",<br \/>\n          \"acceptedAnswer\": {<br \/>\n            \"@type\": \"Answer\",<br \/>\n            \"text\": \"You can run Nextcloud on a $5 VPS, but the experience is rough above one or two users. A $5 plan typically gives you 1 GB of RAM and a single CPU core, which hits swap quickly under any sync load. The Nextcloud All-in-One image needs 2 GB of RAM as a floor, so the cheapest tier locks you out of the recommended install path entirely.\"<br \/>\n          }<br \/>\n        },<br \/>\n        {<br \/>\n          \"@type\": \"Question\",<br \/>\n          \"name\": \"How much storage does Nextcloud need per user?\",<br \/>\n          \"acceptedAnswer\": {<br \/>\n            \"@type\": \"Answer\",<br \/>\n            \"text\": \"Plan for 5 to 20 GB of storage per active Nextcloud user, depending on file types. Document-only use stays at the low end. Photos and Talk recordings push the high end up fast; a household with two phones syncing photo libraries can fill 100 GB inside a year.\"<br \/>\n          }<br \/>\n        },<br \/>\n        {<br \/>\n          \"@type\": \"Question\",<br \/>\n          \"name\": \"Is Nextcloud free?\",<br \/>\n          \"acceptedAnswer\": {<br \/>\n            \"@type\": \"Answer\",<br \/>\n            \"text\": \"Yes, Nextcloud Server is free and open-source under the AGPLv3 license. Nextcloud GmbH, the company behind the project, sells Enterprise support contracts to large organizations, but everything an individual or small team needs is free.\"<br \/>\n          }<br \/>\n        },<br \/>\n        {<br \/>\n          \"@type\": \"Question\",<br \/>\n          \"name\": \"Do you need Docker to run Nextcloud?\",<br \/>\n          \"acceptedAnswer\": {<br \/>\n            \"@type\": \"Answer\",<br \/>\n            \"text\": \"No, you don't need Docker to run Nextcloud, but for most self-hosters Docker (specifically the All-in-One image) is the easiest install path. Bare-metal LAMP works and is officially supported.\"<br \/>\n          }<br \/>\n        },<br \/>\n        {<br \/>\n          \"@type\": \"Question\",<br \/>\n          \"name\": \"Is a VPS or a NAS better for Nextcloud?\",<br \/>\n          \"acceptedAnswer\": {<br \/>\n            \"@type\": \"Answer\",<br \/>\n            \"text\": \"A VPS is better when you need reliable remote access; a NAS is better when files only need to live on the home network. NAS uptime depends on residential power, residential internet, and your willingness to debug a stuck disk at 11 p.m. A VPS gives you a static IP, a real SLA, and a server in a data center with redundant power.\"<br \/>\n          }<br \/>\n        },<br \/>\n        {<br \/>\n          \"@type\": \"Question\",<br \/>\n          \"name\": \"How do you back up a self-hosted Nextcloud?\",<br \/>\n          \"acceptedAnswer\": {<br \/>\n            \"@type\": \"Answer\",<br \/>\n            \"text\": \"Back up the data directory and the database together. Both are required to restore a working Nextcloud; the data directory holds the files, while the database holds the user accounts, share links, version history, and metadata.\"<br \/>\n          }<br \/>\n        }<br \/>\n      ]<br \/>\n    },<br \/>\n    {<br \/>\n      \"@type\": \"HowTo\",<br \/>\n      \"name\": \"How to Set Up Nextcloud on a VPS\",<br \/>\n      \"step\": [<br \/>\n        {<br \/>\n          \"@type\": \"HowToStep\",<br \/>\n          \"name\": \"The Fastest Path: Nextcloud All-in-One Docker\",<br \/>\n          \"text\": \"Nextcloud All-in-One is the official install path, maintained by the Nextcloud team. It runs every service (server, database, Redis, Office, Talk, backup, reverse proxy) as managed containers, coordinated by a single mastercontainer that handles upgrades, backups, and SSL. The whole install is one Docker command plus a web setup wizard at port 8080.\"<br \/>\n        },<br \/>\n        {<br \/>\n          \"@type\": \"HowToStep\",<br \/>\n          \"name\": \"The Flexible Path: Docker Compose\",<br \/>\n          \"text\": \"Docker Compose is the right call if you already run other containerized services on the host and want Nextcloud to fit alongside them. You write a docker-compose.yml listing every service (Nextcloud, MariaDB, Redis, optionally Collabora or OnlyOffice), then bring the stack up with docker compose up -d.\"<br \/>\n        },<br \/>\n        {<br \/>\n          \"@type\": \"HowToStep\",<br \/>\n          \"name\": \"The Traditional Path: Apache + MariaDB + PHP\",<br \/>\n          \"text\": \"Bare-metal LAMP is the original install path. Apache or nginx, MariaDB, PHP 8.4, and the Nextcloud tarball, no containers. It's heavier on maintenance because every component upgrades on its own schedule. Pick LAMP only if you specifically need to avoid Docker.\"<br \/>\n        }<br \/>\n      ]<br \/>\n    }<br \/>\n  ]<br \/>\n}<br \/>\n<\/script><\/p>","protected":false},"excerpt":{"rendered":"<p>Self-host Nextcloud on a VPS and replace Google Drive without paying per user. Here&#8217;s the RAM you need, the cost math, and how the install works.<\/p>\n","protected":false},"author":2,"featured_media":81934,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"toc_headlines":"[[\"h-why-run-nextcloud-instead-of-using-google-drive\",\"Why Run Nextcloud Instead of Using Google Drive?\"],[\"h-can-you-run-nextcloud-on-a-vps\",\"Can You Run Nextcloud on a VPS?\"],[\"h-what-does-it-cost-to-self-host-nextcloud-compared-to-google-workspace\",\"What Does It Cost to Self-Host Nextcloud Compared to Google Workspace?\"],[\"h-what-server-specs-does-nextcloud-need\",\"What Server Specs Does Nextcloud Need?\"],[\"h-how-do-you-install-nextcloud-on-a-vps\",\"How Do You Install Nextcloud on a VPS?\"],[\"h-how-do-you-keep-a-self-hosted-nextcloud-running\",\"How Do You Keep a Self-Hosted Nextcloud Running?\"],[\"h-is-it-time-to-take-the-leap\",\"Is It Time to Take the Leap?\"],[\"h-frequently-asked-questions-about-nextcloud-on-a-vps\",\"Frequently Asked Questions About Nextcloud on a VPS\"]]","hide_toc":false,"footnotes":""},"categories":[550,804],"tags":[],"class_list":["post-81932","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","category-web-hosting"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.3 (Yoast SEO v27.8) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How To Set Up Nextcloud on a VPS - DreamHost<\/title>\n<meta name=\"description\" content=\"Self-host Nextcloud on a VPS and replace Google Drive without paying per user. Here&#039;s the RAM you need, the cost math, and how the install works.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.dreamhost.com\/blog\/nextcloud-vps\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Self-Host Nextcloud on a VPS\" \/>\n<meta property=\"og:description\" content=\"Your files, your server, your rules. Here&#039;s how to run Nextcloud on a VPS, and why the cost math makes sense the moment you hit five users.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.dreamhost.com\/blog\/nextcloud-vps\/\" \/>\n<meta property=\"og:site_name\" content=\"DreamHost Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/DreamHost\/\" \/>\n<meta property=\"article:published_time\" content=\"2026-06-18T14:45:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-06-18T14:45:14+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/06\/1220_x_628_ogimage_nextcloud_running_on_a_vps.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"Dallas Kashuba\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"Self-Host Nextcloud on a VPS\" \/>\n<meta name=\"twitter:description\" content=\"Your files, your server, your rules. Here&#039;s how to run Nextcloud on a VPS, and why the cost math makes sense the moment you hit five users.\" \/>\n<meta name=\"twitter:creator\" content=\"@http:\/\/twitter.com\/dallas\" \/>\n<meta name=\"twitter:site\" content=\"@dreamhost\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Dallas Kashuba\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"12 minutes\" \/>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How To Set Up Nextcloud on a VPS - DreamHost","description":"Self-host Nextcloud on a VPS and replace Google Drive without paying per user. Here's the RAM you need, the cost math, and how the install works.","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:\/\/www.dreamhost.com\/blog\/nextcloud-vps\/","og_locale":"en_US","og_type":"article","og_title":"Self-Host Nextcloud on a VPS","og_description":"Your files, your server, your rules. Here's how to run Nextcloud on a VPS, and why the cost math makes sense the moment you hit five users.","og_url":"https:\/\/www.dreamhost.com\/blog\/nextcloud-vps\/","og_site_name":"DreamHost Blog","article_publisher":"https:\/\/www.facebook.com\/DreamHost\/","article_published_time":"2026-06-18T14:45:00+00:00","article_modified_time":"2026-06-18T14:45:14+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/06\/1220_x_628_ogimage_nextcloud_running_on_a_vps.webp","type":"image\/webp"}],"author":"Dallas Kashuba","twitter_card":"summary_large_image","twitter_title":"Self-Host Nextcloud on a VPS","twitter_description":"Your files, your server, your rules. Here's how to run Nextcloud on a VPS, and why the cost math makes sense the moment you hit five users.","twitter_creator":"@http:\/\/twitter.com\/dallas","twitter_site":"@dreamhost","twitter_misc":{"Written by":"Dallas Kashuba","Est. reading time":"12 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.dreamhost.com\/blog\/nextcloud-vps\/#article","isPartOf":{"@id":"https:\/\/www.dreamhost.com\/blog\/nextcloud-vps\/"},"author":{"name":"Dallas Kashuba","@id":"https:\/\/www.dreamhost.com\/blog\/#\/schema\/person\/f6a12ad459538e8e418cf31b8b603814"},"headline":"How to Set Up Nextcloud on a VPS","datePublished":"2026-06-18T14:45:00+00:00","dateModified":"2026-06-18T14:45:14+00:00","mainEntityOfPage":{"@id":"https:\/\/www.dreamhost.com\/blog\/nextcloud-vps\/"},"wordCount":2480,"publisher":{"@id":"https:\/\/www.dreamhost.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.dreamhost.com\/blog\/nextcloud-vps\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/06\/1460x1095_blog_hero_nextcloud_running_on_a_vps.webp","articleSection":["Tutorials","Web Hosting"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.dreamhost.com\/blog\/nextcloud-vps\/","url":"https:\/\/www.dreamhost.com\/blog\/nextcloud-vps\/","name":"How To Set Up Nextcloud on a VPS - DreamHost","isPartOf":{"@id":"https:\/\/www.dreamhost.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.dreamhost.com\/blog\/nextcloud-vps\/#primaryimage"},"image":{"@id":"https:\/\/www.dreamhost.com\/blog\/nextcloud-vps\/#primaryimage"},"thumbnailUrl":"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/06\/1460x1095_blog_hero_nextcloud_running_on_a_vps.webp","datePublished":"2026-06-18T14:45:00+00:00","dateModified":"2026-06-18T14:45:14+00:00","description":"Self-host Nextcloud on a VPS and replace Google Drive without paying per user. Here's the RAM you need, the cost math, and how the install works.","breadcrumb":{"@id":"https:\/\/www.dreamhost.com\/blog\/nextcloud-vps\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.dreamhost.com\/blog\/nextcloud-vps\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dreamhost.com\/blog\/nextcloud-vps\/#primaryimage","url":"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/06\/1460x1095_blog_hero_nextcloud_running_on_a_vps.webp","contentUrl":"https:\/\/www.dreamhost.com\/blog\/wp-content\/uploads\/2026\/06\/1460x1095_blog_hero_nextcloud_running_on_a_vps.webp","width":1460,"height":1095,"caption":"How to Set Up Nextcloud on a VPS"},{"@type":"BreadcrumbList","@id":"https:\/\/www.dreamhost.com\/blog\/nextcloud-vps\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.dreamhost.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Set Up Nextcloud on a VPS"}]},{"@type":"WebSite","@id":"https:\/\/www.dreamhost.com\/blog\/#website","url":"https:\/\/www.dreamhost.com\/blog\/","name":"DreamHost Blog","description":"","publisher":{"@id":"https:\/\/www.dreamhost.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.dreamhost.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.dreamhost.com\/blog\/#organization","name":"DreamHost","url":"https:\/\/www.dreamhost.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.dreamhost.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/dhblog.dream.press\/blog\/wp-content\/uploads\/2019\/01\/dh_logo-blue-2.png","contentUrl":"https:\/\/dhblog.dream.press\/blog\/wp-content\/uploads\/2019\/01\/dh_logo-blue-2.png","width":1200,"height":168,"caption":"DreamHost"},"image":{"@id":"https:\/\/www.dreamhost.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/DreamHost\/","https:\/\/x.com\/dreamhost","https:\/\/www.instagram.com\/dreamhost\/","https:\/\/www.linkedin.com\/company\/dreamhost\/","https:\/\/www.youtube.com\/user\/dreamhostusa"]},{"@type":"Person","@id":"https:\/\/www.dreamhost.com\/blog\/#\/schema\/person\/f6a12ad459538e8e418cf31b8b603814","name":"Dallas Kashuba","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/05ab6fb1606be97d16c74efb0fba01b3c11e91501dc5f9661bdfbb5c5b0cd113?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/05ab6fb1606be97d16c74efb0fba01b3c11e91501dc5f9661bdfbb5c5b0cd113?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/05ab6fb1606be97d16c74efb0fba01b3c11e91501dc5f9661bdfbb5c5b0cd113?s=96&d=mm&r=g","caption":"Dallas Kashuba"},"sameAs":["http:\/\/www.idallas.com\/","https:\/\/x.com\/http:\/\/twitter.com\/dallas"],"url":"https:\/\/www.dreamhost.com\/blog\/author\/dallas\/"}]}},"lang":"en","translations":{"en":81932},"pll_sync_post":{},"_links":{"self":[{"href":"https:\/\/www.dreamhost.com\/blog\/wp-json\/wp\/v2\/posts\/81932","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dreamhost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dreamhost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dreamhost.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dreamhost.com\/blog\/wp-json\/wp\/v2\/comments?post=81932"}],"version-history":[{"count":4,"href":"https:\/\/www.dreamhost.com\/blog\/wp-json\/wp\/v2\/posts\/81932\/revisions"}],"predecessor-version":[{"id":81943,"href":"https:\/\/www.dreamhost.com\/blog\/wp-json\/wp\/v2\/posts\/81932\/revisions\/81943"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.dreamhost.com\/blog\/wp-json\/wp\/v2\/media\/81934"}],"wp:attachment":[{"href":"https:\/\/www.dreamhost.com\/blog\/wp-json\/wp\/v2\/media?parent=81932"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dreamhost.com\/blog\/wp-json\/wp\/v2\/categories?post=81932"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dreamhost.com\/blog\/wp-json\/wp\/v2\/tags?post=81932"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}