Softaculous

Install Nextcloud with Softaculous for private file sharing

Set up your own Nextcloud for file sync and sharing on cPanel hosting with Softaculous: install options, data folder outside the web root, background jobs, apps and limits.

IntermediatecPanel hosting2 min read

Nextcloud is a self-hosted alternative to Dropbox or Google Drive: you store files on your own hosting, sync them to your devices and share links with others. Softaculous can install it on cPanel hosting for personal or small-team use. This guide covers a secure installation and the settings that matter on shared hosting.

Before you start

  • A subdomain such as cloud.example.com with a valid SSL certificate. See create a subdomain.
  • Enough disk space and inodes on your plan for the files you plan to store; all files count toward your quota. See inodes and quota.
  • A supported PHP 8 version with extensions such as zip, gd or imagick, intl, bcmath and gmp enabled in Select PHP Version; memory_limit at least 512M.

Install Nextcloud

  1. Open cPanel → Software → Softaculous Apps Installer, search for Nextcloud (category File Management) and click Install.
  2. Installation URL: https://, the subdomain, and an empty directory.
  3. Data Directory: change it to a folder outside public_html and the subdomain's document root, for example /home/cpuser/nextcloud-data. This prevents direct web access to stored files.
  4. Admin Account: a unique username and a strong password.
  5. Enable automated Softaculous backups only if your quota allows; backing up large file collections doubles disk use. Daily JetBackup already includes the data folder.
  6. Click Install.

After installation

  1. Log in and open Administration settings → Overview. Nextcloud lists security and setup warnings; work through them.
  2. Background jobs: choose Cron under Administration settings → Basic settings, then add a cPanel cron job every 5 minutes:
    /usr/local/bin/php -f /home/cpuser/cloud.example.com/cron.php
    Use the PHP binary matching the site's version; see cron troubleshooting.
  3. Email: in Basic settings → Email server, use SMTP with a mailbox on your domain (server hostname, port 465, SSL) so share notifications arrive.
  4. Two-factor authentication: enable the TOTP app under Apps and require it for users.

Warning: Shared hosting has CPU and memory limits. Nextcloud suits personal use and small teams. Heavy features such as large-scale syncing, video previews, Talk video calls or Office integration need a VPS.

Connect your devices

  • Install the Nextcloud desktop client (Windows, macOS, Linux) and the mobile apps.
  • Enter the server address https://cloud.example.com and log in through the browser window that opens.
  • Choose which folders to sync; avoid syncing huge folders over a mobile connection.

Troubleshooting

  • "PHP memory limit below recommended": raise memory_limit in Select PHP Version.
  • Uploads of big files fail: raise upload_max_filesize and post_max_size; the desktop client uploads in chunks and handles large files better than the browser.
  • 508 or slow interface: you are hitting resource limits; see resource usage.

Next steps

Was this guide helpful?

Still stuck?

Ask MdmHost AI for a quick answer, or open a ticket and our team will take a look. We are here 24/7.