You know how some of your most vivid memories go back to moments when you were scared or you tackled a difficult thing for the first time? Well, I still remember the fear and trepidation I felt when I was about to install and set up my first self-hosted app: the microblogging app GoToSocial. This was back in December 2024 when the world of self-hosting was still novel to me. A year later, empowered by the ease of use of YunoHost and several adventures running commands in Terminal, I am here to tell newbies: welcome to this exciting new adventure! My goal is to guide you and make the process simpler and less stress-inducing. 

I ran a poll on Mastodon last fall, asking people which FOSS app I should showcase in my first self-hosting tutorial. NextCloud won by a large margin.

Nextcloud - Open source content collaboration platform
The most popular open source content collaboration platform for tens of millions of users at thousands of organizations across the globe

How to describe NextCloud for someone who has never heard of it? It’s a bit of a challenge because NextCloud does so much and has an app store where you can install numerous add-ons to add wonderful functionalities. So, to simplify things, let me share with you how I have personally been using NextCloud: as a replacement for Google Drive, WeTransfer and Dropbox.

In June of last year I set up a NextCloud server in order to make it easier to share alternate cuts of my Fedi intro video and to allow people to download screenshots and foreign language subtitles:

a screenshot showing the NextCloud folder for my Fedi promo video, listing folders and movie files that people can download
a screenshot showing the NextCloud folder for my Fedi promo video

Typically I would have used Dropbox for something like this, but I quit Dropbox in early November 2024 when I began my personal journey of independence from U.S. based Big Tech platforms. NextCloud became a natural replacement for Big Tech services I had relied on. And it has worked wonderfully.

Now, if you are just starting with your self-hosting adventures, I would not recommend using your brand new personal NextCloud to store sensitive documents or things for which you do not have a backup. But it’s a good starting place for a journey to tech independence. If in your job or daily life you collaborate with others and need a place to store and share files quickly and easily, then NextCloud is for you. I’d love to show you how you can set it up.

If you followed my previous tutorials (part 1, part 2) and you have a VPS with YunoHost installed and a domain name associated to it, then you’re ready go get started. Otherwise I would recommend you follow the steps in my previous tutorial ("A newbie's guide to self-hosting with YunoHost. Part 2: installation & setup"); from start to finish the process should take about 30 minutes.

Ready to install NextCloud?

Preparation: some good housekeeping practices first

One of the most important lessons I learned in my first year of self-hosting is that you can never be too careful with backups. Before running any operations that may go wrong, it's always a good idea to take a snapshot of your VPS: this will record the state of the VPS as it is and allow you to go back to it, restoring it, in case anything goes awry.

Before I install or update any apps, I typically log into my VPS dashboard on Hostinger, click on VPS, select my VPS running YunoHost, and click on the button "Manage." This opens up the dashboard for my VPS. On the left, there is a menu with various options... select "backups and monitoring" and then "snapshots & backups."

a screenshot of Hostinger's VPS dashboard. There is a light blue, hand-drawn arrow pointing to "backups & monitoring" in the left side menu
a screenshot of my VPS dashboard

Scroll down the page, past "auto backups", until you see "Snapshot".

Click on the button that reads "New snapshot" - this will make a copy of your entire VPS and keep it here in case you want to revert back to it:

a screenshot of the Snapshot section on my VPS with a hand-drawn arrow that points to a button that says "new snapshot"

Better safe than sorry. Honestly the few times I messed up in my self-hosting adventures I was either happy I took a snapshot... or smacked my forehead and lamented my stupidity for forgetting to do so.

Moving on...

Step 1: log in and add a subdomain

 Estimated time: 5 minutes

Log onto your YunoHost server and from the dashboard click on "Domains":

a screenshot of the YunoHost dashboard showing various menu items. The third one from the top "Domains" has a handdrawn blue circle around it
a screenshot of the YunoHost dashboard

On the "Domains" page, click on the green button "Add domain":

a screenshot of the Domains page on my YunoHost server. "elenarossini.it" is at the top and a couple of subdomains under it are pixelated for privacy and security reasons

Then check the option "I want to add a subdomain of an already added domain" (again, here I am assuming you followed all the steps in my previous tutorial and you have a main domain associated to your YunoHost installation):

a screenshot showing the screen for "Add domain" in the YunoHost dashboard. The option "I want to add a subdomain of an already added domain" is checked and nextcloud is written in the box for subdomain
a screenshot showing the screen for "Add domain" in the YunoHost dashboard

You can call this whatever you'd like: nextcloud, drive, cloud, docs, nc - it doesn't really matter. Then click on the green button "Add."

When you do that, YunoHost will start its magic and take care of things:

a screenshot of my desktop showing a browser window with YunoHost and the page "Add Domain" greyed out and on top a white box with the message "Add domain" and "Waiting for the server's response"

The process may take a while. It's typical to see this on screen:

a screenshot showing the action box with a message "the server is processing the action..." and a list of things it's doing in the background, like configuration updated for dnsmasq

When the process completes, your new subdomain - which you will use for NextCloud - should appear in your "Domains" list.

Click on it and then when you are on the subdomain's page click on "DNS":

a screnshot showing the recommended configuration for DNS settings for the subdomain

I have email sending and reception turned off; I simply add:

  • A
  • AAAA
  • CAA

records for that subdomain (CAA is the SSL certificate). Just log onto your domain name registrar, go to the "Manage DNS" page and add the records according to YunoHost's instructions.

Once you've added the CAA record, go back to the YunoHost page for your subdomain and click on "Certificate." Then proceed to ignore diagnostics checks and click on the button to install the Let's Encrypt certificate. Within a few seconds, you should see a green line with a thumbs up and the confirmation message that you're now using a valid Let's Encrypt certificate.

Great! Now you have a subdomain ready for the installation of a YunoHost app.

Step 2: install NextCloud

 Estimated time: 5-10 minutes*

And now we get to the exciting part: installing our first app with YunoHost!

Please do not be intimidated by the "estimated time: 5-10 minutes" because all you have to do is click on a couple of buttons, sit back, and let YunoHost do the heavy lifting in the background. So a more accurate estimate for the time it would take YOU dear newbie to install an app is... less than a minute.

From your server's Dashboard go to "Applications" and click on the green button "Install an app".

You'll be directed to YunoHost's app catalog:

a screenshot showing YunoHost's app catalogue with a logo, title and description for each app. They are sorted in alphabetical order and over 200 hundred. In this screen you see apps like 13ft, 20 euros, 243... AdGuard Home and others
a screenshot showing YunoHost's app catalog

In the search bar at the top (there's a greyed out box with the message "search for apps") type "Nextcloud" and then click on it.

a screenshot showing YunoHost's app catalog and the search for NextCloud... There is a tile with a dark grey background and the word NextCloud, its app logo and the description: "Online storage, file sharing platform and various other applications"
YunoHost's app catalog

You're now getting ready to install NextCloud on your VPS. All you have to do is adjust a few more settings:

a screenshot showing the settings page for NextCloud with personalization options before clicking install, like choosing a domain where to install the app, choosing a directory, choosing an admin, who should have access to this app (Visitors vs. Admin or users) and the option to add the users' home directory in NextCloud
the NextCloud installation screen on YunoHost

Choose the domain where this app should be installed:

Important: select the subdomain you just set up for NextCloud in step 1. Do NOT put it on the domain you use to log onto your YunoHost.

Choose the URL path where the app should be installed:

Totally up to you; you're free to keep "nextcloud" or name the directory whatever you wish.

Choose an administrator user for this app:

Nothing to change here, it's your YunoHost admin account.

Who should have access to this app?

I change access privileges from "Visitors" to "Admin" - but you can still share files from your NextCloud with the instance set up like this.

Add the users' home directory in Nextcloud?

Just keep "no" here for now.

And you're ready. All you have to do now is click on the green button "Install" and let YunoHost do its magic.

a white box over a greyed out web page. The title of the box reads: "install the nextcloud app" and below there is a headline that says "The server is processing the action" and a list of tasks under way like "Provisioning permissions"
a screenshot showing YunoHost in the process of installing NextCloud

It's typical for the process to take anywhere from 5 to 10 minutes. Just sit back, relax and don't press any keys.

After NextCloud is successfully installed on your server, it will automatically appear here in your Applications list.

a screenshot showing the Applications page of my YunoHost, which is now listing NextCloud and Umami (I'd installed it before). A light blue handdrawn arrow points to Nextcloud
a screenshot showing the Applications page of my YunoHost, which is now listing NextCloud and Umami

Step 3: set up your NextCloud

Congratulations! You just installed your first self-hosted app! Now let's dive in.

Click on NextCloud in the Applications page. You will be directed to the settings page, which tells you which version of NextCloud you are running and lets you adjust various parameters. No more tweaking for now: all you have to do is click on the green button at the top of the page that reads "Open this app":

a screenshot of the settings page for NextCloud, with a description of what it does (potential alternative to iCloud, Dropbox, Google Apps, Google Drive, Microsoft One Drive...)

NextCloud then offers you a quick orientation to show some of its latest features. You can skip through the steps or watch the videos - up to you:

NextCloud offers apps for iOS and Android devices, as well as a desktop app for Windows, MacOS and Linux (yay).

Once you've completed this walkthrough, you will find yourself on the home page for your NextCloud, which lists several "recommended files" - pre-installed onboarding files that you are safe to delete... or go through, if you're curious to see the file types that NextCloud supports.

a screenshot of the main page on my self-hosted NextCloud, with an abstract blue background and the words on top: "Good morning, Elena Rossini" and under it there is a box with "Recommended Files" and 7 file previews

If you click on the folder icon in the top left corner of the screen, you will see a classic file view:

a screenshot of the dashboard in my self-hosted NextCloud. On the left there is a menu item "Favorites, shares, tags" and on the right a list of files with an icon corresponding to the file type, a share button, the file size and the upload date

And if you click on the circle with your initials in the upper right corner, you will see a settings menu:

the welcome page for NextCloud showing the pull-down menu over the user account. it's a white box with the words "Elena Rossini, view profile, set status, appearance and accessibility, personal settings, administration settings, apps, accounts, what's new, help and privacy, log out"

If you click on Apps, you'll be directed to NextCloud's "App Store" where you can install a lot of add-ons. As you can see from the menu in the left column, the apps are organized by category:

  • Files
  • Games
  • Integration
  • Monitoring
  • Multimedia
  • Office & text
  • Organization
  • Search
  • Security
a screenshot of the Discover page in the apps section of NextCloud. On the left side, in the menu, you can see apps sorted by type like: files, games, integration, monitoring, multimedia, office & text, organization, search and security

If you click on a category - let's say "office & text" - you can find useful add-ons like NextCloud office, which allows you to create, edit and share documents directly in your browser. All you have to do is to click on the "Download and enable" button.

This is by no means meant to be a NextCloud tutorial, but rather a show and tell of how to install an app via YunoHost. I could spend hours showing off what NextCloud can do and feel like I forgot something. It's such a powerful, versatile tool that no short blog post could do it justice. I simply invite you to explore it as it truly is a wonderful tool and an amazing first step in the quest for digital sovereignty.

I hope you found this guide useful. Next time I will write about backups and security!

Thanks for being here,

Elena

P.S.: I set up a test NextCloud instance to take screenshots of the whole process for this article, but for security reasons I have now deleted it - along with DNS records. So if you attempt to visit the URL I show off in this tutorial, you will get an error message


💓 Did you enjoy this post? Share it with a friend!
👫 Follow me on Mastodon. All my other links are available here: elena.social
📽️ If you'd like to support my work, you could buy or rent my documentary The Illusionists on the globalization of beauty:

The Illusionists

THE ILLUSIONISTS is an award-winning documentary about the globalization of beauty and the dark side of advertising.

Buy or Rent The Illusionists

💌 If you'd like to say hi, my contact information is here
✏️ If this post resonated with you, leave a comment!

Last Update: January 16, 2026