this post was submitted on 17 Oct 2026
74 points (100.0% liked)

Selfhosted

63012 readers
1691 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

So I'm relatively new to server hosting. (But experienced with remote web hosting from providers.) After about a year of fighting to run Nextcloud on a hosting company and finally losing everything from the cPanel vulnerability a few months ago, I broke down and launched my own home server. I'm looking for advice to maximize security.

CachyOS Linux with ClamAV Docker via Portainer Nextcloud (E2EE), Immich, DocuSeal and NoteTrace Routed through a domain and subdimains via Zero Trust Cloudflare Tunnel and Cloudflare DNS.

I have regular redundant backups both onsite and offsite with Duplicati.

My passwords for OS and all admin dashboards are extremely long, unique, random strings managed by Bitwarden.

I know just enough about this stuff to get into trouble. What else should I setup? I have little to no monitoring going on and don't know much about that direction.

you are viewing a single comment's thread
view the rest of the comments
[–] zlatko@programming.dev 18 points 1 day ago

A few tips off the top of my head, in no particular order:

  • do not allow public access to any of this. It's not trivial to set up a wireguard tunnel so that you can reach your home network from e.g. your phone or laptop when you're away, but it's also not highly complicated. Usually your home Internet router can already get you half way there.

  • if you must have some service available from the public net, it's better to e.g. host it on a cheap VPS. That way if your things get hacked again (via no fault of your own), your home network is safe.

  • set up automatics updates, at least for minor updates. If you're fine with waiting for a few days in case an update crashes one of your services, it's a good idea to just make it all auto update. Crash recovery from a backup is a simpler problem then setting up from scratch because your outdated service got hacked and now attackers own your home server, home router, TV, fridge, LEDs and whatever else is Internet capable at your home.

  • use 2fa for any service you expose to public internet. Minor inconvenience, mitigates or avoids a whole series of errors.

  • document what you're doing in a simple doc. Can be a simple doc on your next cloud instance, just at a little note/log entry every time you do something. "added robo vacuum cleaner integration to my home assistant. Had to use version 1.2.3 because my robot is an older gen. Password's on my phone." helps a lot when something goes wrong later and you forgot what you did.

  • test backup recovery. Just delete everything and see if and how you can get it back. If you're afraid to do that, you don't have a backup.

  • simple monitori