Deploy Nextcloud on a VPS in 10 minutes
File sync, calendar, contacts, calls, and in-browser office editing on a server you control. Nextcloud VPS hosting runs on one flat server monthly fee. Order a VPS, point a domain at it, launch Nextcloud All-in-One.
What can you do with self-hosted Nextcloud on a VPS
Nextcloud is an open-source collaboration platform for files, calendars and team communication. On a Nextcloud VPS, the AIO mastercontainer brings up the whole stack: app server, PostgreSQL, Redis, an office suite and TLS, all on hardware you rent.
Replace Google Drive and Dropbox
Edit documents right in the browser
Run calls and chat with Talk
Sync calendars and contacts
Keep data in the jurisdiction you pick
Grow storage in the increments you need
Choose a Nextcloud VPS plan
Nextcloud AIO needs at least 2 GB RAM and 2 CPU cores, and it climbs with every optional container you switch on. For self-hosted Nextcloud, we recommend Medium VPS (3 CPU, 4 GB RAM, 40 GB SSD, from $21.24/mo). On our test install, the core stack with Euro-Office, Talk, Imaginary and Whiteboard used 1.8 GB of 4 GB RAM. Adding ClamAV, Talk Recording or Fulltextsearch? Go Premium (4 CPU, 8 GB RAM). Everything on at once — Elite (6 CPU, 16 GB RAM). Every plan includes a dedicated IPv4, weekly backups, KVM and full root access.
- 40 CountriesFrom$21.24 / 1 month$20.18 with is*smart
- Xeon 3x2.20 GHz CPU
- 4 Gb RAM
- 40GB SSD Drive
- Unmetered Bandwidth
- 40 CountriesFrom$33.99 / 1 month$32.29 with is*smart
- Xeon 4x2.20 GHz CPU
- 8 Gb RAM
- 50GB SSD Drive
- Unmetered Bandwidth
- 40 CountriesFrom$50.99 / 1 month$48.44 with is*smart
- Xeon 6x2.20 GHz CPU
- 16 Gb RAM
- 80GB SSD Drive
- Unmetered Bandwidth
Boost Your VPS Server Resources
Check out how you can change the configuration of your VPS. You can purchase additional drive space, increase CPU performance, add RAM, and take advantage of additional services without having to switch to a new plan.
How to deploy Nextcloud on a VPS
All a self-hosted Nextcloud needs is a clean Ubuntu 24.04 server, Docker and the official All-in-One image. AIO checks your domain or subdomain against live DNS during setup and refuses a bare IP, so create the A record before you start. Details of every step are in our Nextcloud on VPS guide.
Step 01 — Order a VPS and point a domain at it
Pick Medium VPS and Ubuntu 24 in the configurator. The dedicated IPv4 is assigned automatically, and you'll find it in your client area once the server is active.
Next, link your domain to the server with an A record. Open DNS management at your domain registrar (or wherever your DNS is hosted) and add a record with these fields:
- Type: A
- Name (Host): cloud, if the address will be cloud.yourdomain.com
- Value: your VPS IPv4 address
- TTL: leave the default value
DNS updates usually take from a few minutes to a couple of hours. To check the record, run the command below on your computer:
nslookup cloud.yourdomain.comThe answer should contain your VPS IP.
Then connect:
ssh root@YOUR_VPS_IPWhy Ubuntu: on firewalld-based distributions like CentOS Stream, Docker's container network sometimes needs a manual switch from nftables to iptables. Ubuntu's ufw doesn't have that problem.
Step 02 — Install Docker
curl -fsSL https://get.docker.com | shsystemctl enable --now dockerThe convenience script installs Docker's standard package and never touches snap.
Step 03 — Launch the AIO mastercontainer
docker run \ --init \ --sig-proxy=false \ --name nextcloud-aio-mastercontainer \ --restart always \ --publish 80:80 \ --publish 8080:8080 \ --publish 8443:8443 \ --volume nextcloud_aio_mastercontainer:/mnt/docker-aio-config \ --volume /var/run/docker.sock:/var/run/docker.sock:ro \ ghcr.io/nextcloud-releases/all-in-one:latestLeave the container and volume names as written; the update process depends on them. Port 80 handles the ACME certificate challenge, 8080 serves the AIO interface on a self-signed certificate, 8443 serves it with a valid one once the domain resolves.
Step 04 — Run the setup wizard
Open https://YOUR_VPS_IP:8080 by IP, not by domain, and accept the certificate warning. AIO shows a generated passphrase exactly once: save it, it's your key to the AIO interface from now on. Under New AIO instance, enter your domain and click Submit domain. Pick optional containers (Euro-Office is on by default; Talk, Imaginary and Whiteboard fit comfortably on Medium), click Save changes, then Download and start containers. Wait until every container in the log turns green.
Step 05 — Set up the firewall and log in
ufw statusufw allow OpenSSHufw enableAllow SSH before enabling ufw so you don't lock yourself out. Once every container is green, AIO shows the Nextcloud admin username and a generated password. Log in at https://your-domain:8443; after the certificate settles, it redirects to the standard port 443.
Common issues
- The wizard won't accept your domain. AIO validates it against live DNS. If the A record hasn't propagated yet (or you typed the server's IP) it stops right there. Wait for propagation and submit again.
- The AIO interface stops loading on port 8080. You opened it by domain, and HSTS kicked in. Go back to https://YOUR_VPS_IP:8080 — IP access is the intended path for this step.
- Containers start but can't reach each other. Usual suspects: a firewalld-based distribution running nftables, or Docker installed from snap. Switch firewalld's backend to iptables (or use Ubuntu), and reinstall Docker with the official script.
- ufw deny rules don't block anything. Docker publishes ports 80, 443, 8080 and 8443 through its own iptables rules, so ufw never sees that traffic. Filter those ports at the provider or router level instead.
- Talk connects but calls have no audio or video, or documents won't open. Check that 3478/tcp and 3478/udp are reachable for Talk's TURN server. Behind Cloudflare's proxy, TURN breaks outright and the office suite needs Cloudflare's IP ranges in its WOPI allowlist, set the record to DNS only.