Skip to content

Setting up Nextcloud 13 on a Hosted VPS

sunjam edited this page Apr 10, 2018 · 1 revision

To test out hosted Nextcloud I decided to use a 2gb of Ram Vultr account running Debian 9 Stretch; here is a referral code.

Nextcloud was installed to the VPS using the NextcloudPi Curl Script -- Click here for the code.

# curl -sSL https://raw.githubusercontent.com/nextcloud/nextcloudpi/master/install.sh | bash

  1. You’ll need to setup proper dns with your domain service. Just login and make a support service chat session; they’ll be able to guide you through the process.

    If desired, you could also use a sub-domain ala cloud.companyname.com

  2. Once you've got the domain ready you’ll need to edit your config.php file to add your new trusted domain.

  3. Be sure to setup a https / SSL certificate to protect yourself. I use a community project called Let’s Encrypt directly through the Nextcloudpi-config app.

Tip: If you use Let’s Encrypt, be sure it is set to auto-renew every three months.

Hope this helps!

Bonus: once your domain works, you might want to setup Pretty URL’s for Nextcloud. This will show files as:

Companyname.com/s/file

Rather than

Companyname.com/*index.php*/s/file

It seems that mobile apps might not support Pretty URL's due to the lack of an API. A bug report for iOS was filed here.

Clone this wiki locally