Self-host Nextcloud on a VPS
A private Dropbox and Google Workspace you fully own.
Files, calendars, contacts, document editing and video calls in one self-hosted suite. Your data stays on your server, under your rules, with no per-seat fees.
Why self-host Nextcloud?
Every file you put in a public cloud is someone else’s business asset. Nextcloud keeps sharing simple while giving you the storage, encryption and retention policy you decide.
How to install Nextcloud
- 1
Provision a VPS
2 vCPU / 4 GB is a good starting point for a small team.
- 2
Install the stack
Nginx, PHP-FPM, MariaDB and Redis.
- 3
Add Nextcloud
Download the archive, point your web root at it, and complete the setup wizard.
- 4
Point storage at a data disk
Keep application code and user data on separate volumes for easy growth.
- 5
Optional: office suite
Run Collabora Online to edit documents in the browser.
Practical tips
- Use Redis for file locking — it prevents the classic “file is locked” errors.
- Attach object storage for user files if the library will exceed the disk.
- Set up a nightly database dump plus file sync to an off-box location.
Frequently asked questions
- How many users can one VPS handle?
- A 4 GB VPS comfortably serves a small team; scale RAM and CPU with concurrent users.
- Can I migrate from Dropbox or Google Drive?
- Yes, Nextcloud has desktop clients and migration tooling that pull your existing files across.
- Is it secure for sensitive documents?
- Traffic is encrypted in transit and server-side encryption is available; keep the VPS patched and backed up.
Looking for something else? Popular alternatives include ownCloud, Seafile, Syncthing — browse all app guides.