this post was submitted on 22 Dec 2024
13 points (100.0% liked)

Self-hosting

3007 readers
1 users here now

Hosting your own services. Preferably at home and on low-power or shared hardware.

Also check out:

founded 2 years ago
MODERATORS
 

I recently got my hands on a lightly used Raspberry Pi 5 and have been playing around with it and breaking things while trying to learn my way around self hosting. I have a a couple questions now that I've hit a bit of a road block in learning.

  1. Is it possible to set up lemmy for local host on a local network only? I'm not worried about federated data from other instances. At this point I just want to experiment and break things before I commit to buying a Top Level Domain name.

  2. How exactly does a TLD work? I've tried searching up how to redirect traffic from a TLD to my raspberry pi. Since I don't know much about hosting or networking, I don't know what to search up to find the answer I'm looking for.

  3. How do I protect myself while self hosting? I know the Lemmy documentation suggests using Let's Encrypt, is that all I need to do in order to protect any private data being used?

My goal in the future is to have a local, text-only instance that may connect with a small number of whitelisted instances.

you are viewing a single comment's thread
view the rest of the comments
[–] BlackEco@lemmy.blackeco.com 2 points 1 month ago

Your instance has to be accessible from the outside world for it to federate (remote instances push new posts to your instance, it's not your instance polling remotes for new posts)

As said in another comment, federation requires HTTPS, which itself requires a domain name. You can probably do it for cheap with a Dynamic DNS service (for the domain name) and Let’s Encrypt (for the SSL certificate required for HTTPS)