Nextcloud is installed during VPS provisioning and shows a setup wizard on first access. You only need to create your admin user and adjust a few settings.
Access the Nextcloud setup wizard
Open your browser and go to:
http://YOUR_PUBLIC_IP:8080
Create your admin account and complete the initial configuration steps shown in the wizard.
Add trusted domains
Nextcloud only allows access via localhost by default. To access it via your domain name or public IP, add that value to the trusted domains list:
sudo nextcloud.occ config:system:set trusted_domains 1 --value=YOUR_DOMAIN_OR_IP
Increase the index (for example, use 2, 3, and so on) if you already have entries for other domains.
Enable HTTPS using Let’s Encrypt
You can secure your Nextcloud instance with a free Let’s Encrypt SSL certificate:
sudo nextcloud.enable-https lets-encrypt
Nextcloud will show information about the Let’s Encrypt requirements. Make sure:
Your domain points to your VPS external IP
Ports 80 and 443 are forwarded to your VPS
Confirm with y, enter your email address, then specify the domain you use for Nextcloud. The script will request and install the certificate.
Optional – increase PHP memory limit
If you plan to host large projects or many users, increase the PHP memory limit for the Nextcloud snap:
sudo snap set nextcloud php.memory-limit=VALUE
Replace VALUE with the limit you want to set, for example 512M.
For more configuration options and best practices, refer to the official Nextcloud documentation.
