Selfhosted
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:
-
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
-
No spam posting.
-
Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.
-
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
-
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
-
No trolling.
Resources:
- selfh.st Newsletter and index of selfhosted software and apps
- awesome-selfhosted software
- awesome-sysadmin resources
- Self-Hosted Podcast from Jupiter Broadcasting
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
view the rest of the comments
Check if you're behind CGNAT
The allocated address block for CGNAT is 100.64.0.0/10, i.e. IP addresses from 100.64.0.0 to 100.127.255.255. If your routers WAN IP is one of those then selfhosting stuff accessible from outside requires a lot more work. Ask your ISP if you can have a public IP address and what the cost is or go into the rabbit hole of bypassing cgnat with a vps.
If you're gonna host data, especially other peoples data*, learn and use the 3-2-1 backup strategy
For proxmox which I talk about more further down you can look into their own Proxmox backup server solution.
Data redundancy, either through BIOS/UEFI RAID1 (for two disks) or RAID10 (for four disks) or by running ZFS
This isn't a backup, this is about being able to replace a faulty drive without downtime and having an easier rebuild process compared to restoring from backup.
Virtualization, for a beginner that already runs linux I would recommend Proxmox
This makes it more complicated to get started but easier to maintain the installation and easier to migrate it to new hardware.
It also allows you more room to learn by doing, that's the bonus of the easier restore, cloning and snapshotting of virtual machines compared to bare metal.
*If you're new to selfhosting then begin with yourself and having only local in-house access. As a step 2 learn how to setup a vpn for access from the outside. Step 3 would be learning how to use a reverse proxy, lets-encrypt and so on for SSL access without vpn.
I'm behind CGNAT and my ISP uses addresses in the 10.x.x.x range. Don't assume you're not behind CGNAT if you're outside of the 100.64.0.0 range.
Instead, check the WAN IP on your router and go online and type "what's my IP." If they match, then you need to test ports to see of your ISP allows it. To do that:
You can skip the port checking if you like, but it'll be inconclusive if the last step doesn't work (e.g. could be a firewall on your PC or something).
Like https://canyouseeme.org/
Very good advices!