What is Nextcloud?
Nextcloud is a “roll-your-own” cloud solution. Basically you can create a Dropbox/Google Drive replacement with this Open Source alternative. Nextcloud is a great replacement for Google Drive or Dropbox and is packed with feautures. I was mainly interested in creating a self hosted storage solution.
The Nextcloud website has great tutorials on how to install on your own VPS. So I chose to go a slightly different route. I decided to install it via a cPanel interface. Why? Well cPanel make adminstrating your own server a little bit easier. It’s not perfect but it gets the job done.
In order to get Nextcloud installed you’ll need to setup a few things.
- Make a subdomain on so Nextcloud has a specific location. I chose “cloud” for my subdomain so
cloud.myexamplesite.comis how I would access my Nextcloud installation.
- Install an SSL certificate on your server. I installed a free Let’s Encrypt cert on my server. Check with your hosting provider if they can install a free one for you.
- Setup a MySQL database for your Nextcloud installation. Be sure to write down your database username and password as you will need it later.
Ok, let’s get started with the installation.
- Download the
phpfile for the “Web Installer” on their downloads page.
- Upload the
setup-nextcloud.phpfile to the location of your subdomain document root. Some cPanel installations have the subdomain root located in the
- Now in your web browser visit the
phpfile. So in the previous example our domain was
cloud.myexamplesite.comso you would visit
- Follow the installation instructions.
- When asked about the location of the installation be sure to enter a
.“dot”. Unless of course you will be installing elsewhere.
- Wait for the script to download all the packages.
- Finally create an admin user and enter a strong password. Also be sure to enter your Database credentials under the “Databese” setting for MySQL/MariaDB.After you complete these steps you will have a fully working installation of Nextcloud. I purposefully skipped some steps because every VPS environment is different and I cant’ say for sure some steps will work for you server.
But these are the most important and general steps you will need to install Nextcloud. Some places where you may run into issues may be in the creation of the database. Or adding a subdomain to your DNS provider. Be sure to ask for help with your VPS provider is you get stuck with these steps.
Nextcloud has app for Windows, MacOS, and Linux. Plus mobile apps for both iOS and Android. So be sure to check them out so you can sync up your data on all your devices. And that’s it!
If you’d like to check out Green Geeks WordPress hosting, click on my affiliate link below to get started!