Nextcloud is self-hosted file sync, sharing, calendar, contacts and video calls, an open-source alternative to Google Workspace and Microsoft 365. Ideal for EU companies that want full data residency and do not want to hand their data over to US clouds. This is a guide to Nextcloud hosting in 2026.
Nextcloud in brief #
- An open-source PHP app for file sync + collaboration, AGPL licence.
- Versions: Nextcloud Hub 9 (current, Q1 2026).
- Apps: Files, Talk (video conferencing), Mail, Calendar, Contacts, Notes, Office (Collabora or OnlyOffice integration).
- Desktop clients (Win/Mac/Linux), mobile apps (iOS/Android).
- Federation between instances.
Why self-host Nextcloud #
- EU data residency (GDPR comfort).
- No per-user subscription cost (you pay for the server once).
- Full control over backup, encryption and access policy.
- Integration with your own tools (LDAP, AD, custom SAML SSO).
- End-to-end encryption for sensitive files.
Technical requirements for Nextcloud Hub 9 #
- PHP 8.1+ (8.3 recommended)
- MariaDB 10.6+ or PostgreSQL 13+ (Postgres preferred for larger installations)
- Redis for session + memory cache
- nginx or Apache
- SSL required
- Storage: depends on the size of the team and the number of files
Sizing #
| Team | vCPU | RAM | Storage | EUR/month |
|---|---|---|---|---|
| Small (up to 10 users) | 2 | 4 GB | 200 GB | ~30-50 |
| Mid (up to 50 users) | 4 | 8 GB | 1 TB | ~70-150 |
| Large (up to 500 users) | 8+ | 16-32 GB | 5+ TB | ~200-500 |
| Enterprise | 16+ | 64+ GB | 20+ TB | 500+ |
Performance optimisation #
- APCu for the local cache.
- Redis for distributed cache + file locking (critical).
- PHP-FPM tuned (pm.max_children raised).
- OPcache with preload (Nextcloud has a guide).
- Background jobs via cron instead of AJAX (much faster).
- Object storage (S3 or Swift) for userdata instead of the file system on large installations.
Setup in 30 min #
# Install dependencies
sudo apt install -y nginx mariadb-server php-fpm php-mysql php-gd php-curl php-zip php-mbstring php-xml php-intl php-bcmath php-imagick redis-server
# Download Nextcloud
cd /var/www
wget https://download.nextcloud.com/server/releases/latest.tar.bz2
tar -xjf latest.tar.bz2
chown -R www-data:www-data nextcloud
# Setup MariaDB + nginx config
# Web installer: http://yourdomain/nextcloud
Apps worth having #
- Talk: video conferencing, an alternative to Google Meet.
- OnlyOffice / Collabora: a Word/Excel/PowerPoint-compatible editor in the browser.
- Calendar + Contacts: sync with iPhone/Android.
- Mail: a webmail client (works with an IMAP server).
- Notes: Markdown notes, an alternative to Joplin/Standard Notes.
- Deck: Kanban boards (a Trello alternative).
Backup #
Nextcloud data has 3 parts:
- The
data/directory: user uploads. config/config.php: configuration.- The database (MariaDB/Postgres dump).
Back up all three off-site (S3, B2, another server). Test the restore monthly.
Nextcloud on your own server #
For Nextcloud with us, take your own server: we maintain it, and we install additional programs according to your needs. Every server comes with a 2000 GB backup server and 24/7/365 support.
FAQ #
Nextcloud vs Google Drive cost? Google Workspace is ~6-18 USD/user/month. With Nextcloud you pay per server, not per user, so the saving grows with the number of users.
Can I run Nextcloud on shared hosting? Technically yes for a small team. In practice: Redis, cron, performance, so a VPS is more realistic.
End-to-end encryption? The app exists but has caveats (it does not work for sharing, some apps are incompatible). Server-side encryption helps but the server holds the key.
Nextcloud Office (Collabora) vs OnlyOffice? OnlyOffice has better MS Office compatibility. Collabora is more Linux-friendly.
Do you need Nextcloud for a team or a company? Get in touch through the contact form.