this post was submitted on 17 Jun 2023
5 points (100.0% liked)

Self Hosted - Self-hosting your services.

11498 readers
2 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

Important

Beginning of January 1st 2024 this rule WILL be enforced. Posts that are not tagged will be warned and if not fixed within 24h then removed!

Cross-posting

If you see a rule-breaker please DM the mods!

founded 3 years ago
MODERATORS
 

Hey guys, I'm currently studying computer science and have used Google domains for a while to host my own website. In lieu of domains being discontinued by Google I'm thinking about moving every service I've used there to a Debian VM, which would be hosted by a company in my country, but I would have root access.

This would include a Web- and a Mailserver pretty much. I'm not a beginner when it comes to handling a CLI, but I am quite rusty and would prefer a solution that I set up once and don't have to maintain weekly to keep it going.

I'm aware selfhosting entails some kind of maintenance, I pretty much just don't want to be overwhelmed and suddenly lose access to my mails by being lazy.

Serverwise I've setup Apache and Postfix already in my studies, but I'm not sure if those are the best solutions.

I'd really love a few pointers and do's and don'ts if you'd be so kind to help me out πŸ˜„

Thanks!

(I've posted this to a different community already, but this one seems more active, sorry if you see this double!)

Edit: Thanks for all the input! I'll use Ionos to register my domain and their free Mailservice they provide with it. My website is currently still hosted with firebase, but I'll move it to a Linux VM also hosted by Ionos...

all 7 comments
sorted by: hot top controversial new old
[–] [email protected] 5 points 1 year ago* (last edited 1 year ago) (1 children)

Self hosting mail server is one of the worst ideas. You need to have top notch security, always updating patches and on top of that somehow manage to get your mail not to go into spam folder. Google and Microsoft don't usually like self hosted emails.

If you still are going to go through with this, good luck! I'm going to check regularly how your path goes. Sadly I can't help you at all, just some wide words repeated by others.

Debian is excellent choice.

[–] [email protected] 4 points 1 year ago

I admin a debian mail server in my job and hands down it is the biggest pain in the rear. The more I learn about it, the more I realize we have huge unsolvable gaps in documentation, maintenance ability, and monitoring.

[–] [email protected] 3 points 1 year ago

If you do only web and mail you could consider a web space instead of a VPS. For example Netcup.eu offers packets which include email, Ionos offers one mail account per user account too I think.

Also as you said self hosting emails is quite some pain because Gmail, Microsoft etc blacklist small mail servers rather quickly. Depending on your motivation you could also use Protonmail or mailbox.org as mail provider with your own domain.

Anyway, Debian is a solid choice due to long support times.

[–] Raniers 2 points 1 year ago

Not worth it unless you use it for automation and personal notifications. You'll have to wrestle with google, microsoft and others to accept your mailserver. But if you do want to try, I recommend mail-in-a-box.

[–] [email protected] 1 points 1 year ago

Please do add a tag to your post as stated on the sublemmy sidebar! Thank you. :)

[–] [email protected] 1 points 1 year ago

I’m an avid self hoster. I will self host anything I can, except email. It’s a bad idea all around. From security, complex administration, to not having a two factor password emailed out to you because of an issue on your network. And more reasons. Digital ocean has a decent article on it as well as many others. There are plenty of good providers out there to use. Personally I use Protonmail.