276
0
submitted 2 years ago* (last edited 2 years ago) by prof@beehaw.org to c/selfhost@lemmy.ml

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...

277
4
submitted 2 years ago* (last edited 2 years ago) by rlyehfhtagn@lemmy.ml to c/selfhost@lemmy.ml

I'm looking to host a lemmy instance for a small subreddit. I I am unsure if the load would be too much for my home network. In the last 30 days we got 1.7k comments, 96 posts, 95k views, with an average unique of 809.

My home internet connection is 100mb/s down, 20mb/s up. I use the network to work from home as well as general internet degeneracy when I'm off the clock. I have two roommates also using the network for personal stuff, but not working from home. Would this put too much load on my home network?

If it does, could anyone recommend a good web host service that is compatible with lemmy?

278
-1
submitted 2 years ago* (last edited 2 years ago) by nik282000@lemmy.ml to c/selfhost@lemmy.ml

Google strikes again!

279
2
submitted 2 years ago* (last edited 2 years ago) by rlyehfhtagn@lemmy.ml to c/selfhost@lemmy.ml

I want to set up a lemmy instance as a subreddit alternative for a community I moderate. I would be running the instance on a local machine in my home so I really want to make sure that it can't be traced to my physical location.

I already subscribe to ExpressVPN for general use, can I just install it on the local machine, press connect, and boom be anonymous? What impact would this have on users?

280
1
submitted 2 years ago* (last edited 2 years ago) by Max@mander.xyz to c/selfhost@lemmy.ml

I have a nextcloud instance being hosted from my home network. The URL associated with it points directly at my home's IP. I don't want to host the instance on a VPS because disk space is expensive. So, instead, I want to point the URL at the VPS, and then somehow route the connection to my home's nextcloud instance without leaking my home's ip.

How might I go about doing this? Can this be achieved with nginx?

EDIT: Actually, not leaking my home's IP is not essential. It is acceptable if it is possible to determine the IP with some effort. What I really want is to be able to host multiple websites with my single home IP without those websites being obviously connected, and to avoid automatic bots constantly looking for vulnerabilities in my home network.

281
0
submitted 2 years ago by leraje@lemmy.ml to c/selfhost@lemmy.ml

I'm looking at the official docs but I'm a bit confused. I want to install Lemmy on a VPS but the fourth bullet point in the documentation says:

"Install Ansible on your local machine (do not install it on your destination server)."

And then the Install instructions start going about how to install it.

If Ansible is on my local machine how am I supposed to use it to install Lemmy on a VPS?

282
1
submitted 2 years ago* (last edited 2 years ago) by DidacticDumbass@lemmy.one to c/selfhost@lemmy.ml

I recently started looking into hosting my own email, and the suggestions I got were very encouraging, with a lot of easy solutions paired with some unavoidable gotchas.

It is has become apparent that for me to do this right, I need my own domain name, maybe a VPS or host.

I was about to purchase from Infomaniak, which also had an email solution I liked, but one the prices in euro was throwing me off and two it defeats the purpose of controlling and running my own internet services.

So, I will skip the email hosting and give a try at running my own.

Still, is Infomaniak a good buy? I am going crazy thinking up a good name, and settles on the extension me since it will be a personal thing, but not use my real name since I am going to avoid that shit until I really need to.

Any help would be welcome. Thank you.

UPDATE: I bought a domain name off of Porkbun, which was surprisingly pleasant. I am a sucker for cute guided experiences.

283
1
submitted 2 years ago* (last edited 2 years ago) by Catsrules@lemmy.ml to c/selfhost@lemmy.ml

How do you handle Proxmox clusters when you only have 1 or 2 servers?

I technically have 3 servers but I keep one offline because I don't need it 24/7 most point wasting power on a server I don't need.

I believe I read somewhere that you can force Proxmox it to a lower number but it isn't recommended. Has anyone done this and if so have you run into any issues with this?

My main issue is I want my VM to start no matter what. For example I had a power outage. When the servers came back online instead of starting they waited for the quorum number to reach 3. (it will never reach 3 because the third server wasn't turn on.) so they just waited forever until I got home and ran

pvecm expected 2

284
1

Does anyone have any advice on hosting a server to the outside world? I intend to host a Jellyfin media server and want to be able to access it remotely. I was leaning towards hosting a VPN on my network with a good password but I don't know much about that. I am looking for a free option that ideally doesn't require proprietary software and can be completely hosted locally. For reasons that I won't go into, I am a little concerned about my isp seeing the traffic to the media server. I know I am being paranoid but I don't really care. I imagine if I host it through port forwarding on the router but set up HTTPS that would encrypt the traffic and stop my ISP from seeing it, but I don't know if hosting a VPN would be easier / more secure. Thoughts?

285
0
submitted 2 years ago by OnishiMyers@lemmy.ml to c/selfhost@lemmy.ml

So I'm loving the switch as lemmy's growing larger, I've always used my freshrss reader to view topics. Now with reddit there's an extension for freshrss RedditImage that displays reddit images and photos without the need to click the link.

Is there anything like this in freshrss for lemmy? I wish I understood php well enough to find a spot that might be listing domains or something if it's just a matter of telling it to do the same thing to other domains or something.

286
1
submitted 2 years ago* (last edited 2 years ago) by Ongar@beehaw.org to c/selfhost@lemmy.ml

Hey all, I want to host a small home server as a private vpn, torrent box, Jellyfin server, small lemmy instance and maybe photo backup.. I'm looking for a NAS box or something that would be power efficient and aesthetically pleasing enough for my living room that would be able to handle those tasks. I remember seeing an ad recently for a 2 bay NAS that also had room for 2 NVME. it looked kind of like a white volcano and it had a laptop grade cpu, which would be great I think. Unfortunately I can't find the product anymore, and to be frank I don't really know if that would be overkill for my use case. If anyone has any reccomendations I would love to hear them.

287
1
submitted 2 years ago* (last edited 2 years ago) by CinnamonTheCat@beehaw.org to c/selfhost@lemmy.ml

I need a:

  1. CMS (with webhooks)
  2. Something that easily lets me deploy stuff (as in either a git triggered deployment or just uploading a zip file)
  3. and an easy-to-use static file hosting server that supports dynamic uploads since I need to do Incremental static regeneration (I have played around with caddy and cepth a bit)

Edit: if anyone is still willing to help I'd be really helpful. I'm not a veteran of self-hosting

288
1
submitted 2 years ago* (last edited 2 years ago) by ram@lemmy.ca to c/selfhost@lemmy.ml

Okay, so I followed some guides starting with this one that uses CLI but then ended up roughly-following this Docker guide. I'm running Ubuntu so I had to figure some things myself.

My SSL settings are set to encryption mode full, my tunnel settings are as follows

My Owncast server is set up to 30050 and I can even connect fine through external IP, but Cloudflare's not cooperating. When I connect via my hostname, I get a 502 error, and on the server side I get the following errors:

ERR  error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: dial tcp 127.0.0.1:30050: connect: connection refused" cfRay=7d6fe3954bcd5419-YYZ event=1 ingressRule=0 originService=http://127.0.0.1:30050/
ERR Request failed error="Unable to reach the origin service. The service may be down or it may not be responding to traffic from cloudflared: dial tcp 127.0.0.1:30050: connect: connection refused" connIndex=1 dest=https://live.ramram.ink/favicon.ico event=0 ip=198.41.192.7 type=http

I also confirmed that on the local machine, running curl 127.0.0.1:30050 works fine.

289
2
submitted 2 years ago by sdx@beehaw.org to c/selfhost@lemmy.ml

I'm a bit late to the party but finally got the dreaded e-mail about the Gandi price increases. I was glad to pay their premium prices for domain registration because of the convenience of their DNS management and mailbox offer, but the new prices are just too much for me.

Anyone in the same situation? Which alternative have you moved to?

Important points for me are to be able to use caddy-dns, send low volumes of e-mail for things like nextcloud account creation and notifications, and to a lesser degree to prefer European services

290
1
submitted 2 years ago by Devise@fedia.io to c/selfhost@lemmy.ml

If you were about to set up a new server, what would you consider? What would you do different to your current setup?

291
1
submitted 2 years ago by fraichu@lemmy.ml to c/selfhost@lemmy.ml

I want host to act as an L2 switch for my VM / docker / systemd-container(s) to get IP address from router directly. Are there any tools to configure that?

I know that A WDS range-extender does the same with WiFi, allow it's clients to get IP config from the ISP router itself. My TP Link WR-940N does this, but I want to do this at software level.

292
1
submitted 2 years ago* (last edited 2 years ago) by phase_change@sh.itjust.works to c/selfhost@lemmy.ml

So, I’ve been self-hosting for decades, but on physical hardware. I’ve had things like MythTV and an asterisk voip system, but those have been abandoned for years. I’ve got a web server, but it’s serving static content that’s only viewed by bots and attackers.

My mail server, that’s been active for more than two decades is still in active use.

All of this makes me weird in the self-hosted community.

About a month ago, I put in a beefy system for virtualization with the intent to start branching out the self hosting. I primarily considered Proxmox and xcp-ng. I went with xcp-ng, primarily because it seems to have more enterprise features. I’m early enough in my exploration that switching isn’t a problem.

For those of you more advanced in a home-lab hypervisor, what did you go with and why? Right now, I’m pretty agnostic. I’m comfortable with xcp-ng but have no problems switching. I’m particularly interested in opinions that have a particularly negative view of one or the other, so long as you explain why.

293
2
submitted 2 years ago by drunkeskimo@fedia.io to c/selfhost@lemmy.ml

I'm part of the exodus from reddit, and have made the active decision to start de-cloudifying my life. I've got my own media server, and working on a Nextcloud for the home.

One of the biggest pieces of software that I currently use though, which has way too much access to my hardware is Discord. I know of old school software like Teamspeak and Mumble, but those aren't quite what I'm looking for. They lack some of the features that discord has, such as the chat rooms, or online indicators for friends.

Does anyone know of any good alternatives?

EDIT: Thanks for the suggestions! It's looking like Matrix is going to be the way to go

294
0
submitted 2 years ago by Dirk@lemmy.ml to c/selfhost@lemmy.ml

I can't help but feel overwhelmed by the sheer complexity of self-hosting modern web applications (if you look under the surface!)

Most modern web applications are designed to basically run standalone on a server. Integration into an existing environment a real challenge if not impossible. They often come with their own set of requirements and dependencies that don't easily align with an established infrastructure.

“So you have an already running and fully configured web server? Too bad for you, bind me to port 443 or GTFO. Reverse-proxying by subdomain? Never heard of that. I won’t work. Deal with it. Oh, and your TLS certificates? Screw them, I ship my own!”

Attempting to merge everything together requires meticulous planning, extensive configuration, and often annoying development work and finding workarounds.

Modern web applications, with their elusive promises of flexibility and power, have instead become a source of maddening frustration when not being the only application that is served.

My frustration about this is real. Self-hosting modern web applications is an uphill battle, not only in terms of technology but also when it comes to setting up the hosting environment.

I just want to drop some PHP files into a directory and call it a day. A PHP interpreter and a simple HTTP server – that’s all I want to need for hosting my applications.

295
0
submitted 2 years ago by MrEUser@lemmy.ninja to c/selfhost@lemmy.ml

I am currently working to set up multiple Fediverse sites. I am tired of sites that establish themselves on the backs of a userbase turning on that userbase. I just don't trust "them" with my data anymore. I've built an owncast, pixelfed, lemmy, and mastodon sites as of the publishing of this. I'm going to add a PeerTube site in the coming days. I'll record my #boomer_shooter streams, edit them, and post them there. I'm tired of having to count on Social Media sites that have their own best interest at heart. And they should, that's the business model they have to abide by when they have shareholders. I'll be a 100% share holder in my sites... So, my rules.

296
1
submitted 2 years ago by leraje@lemmy.ml to c/selfhost@lemmy.ml

I'm not familiar enough with Ansible or Docker to really risk installing Lemmy straight onto the VPS so I'm thinking of putting Yunohost on it.

If I chose the Hetzner Cloud package with 8GB RAM and 80Gb space, realistically, how many users could sign up before things got dangerous.

Hetzner is fine with yunohost installs and the hardware specs are good for it, I'm just wondering about Lemmy capacity in terms of numbers of users. I realise you'd only be able to guesstimate a ballpark figure.

Also, one way to cut down on space use is apparently object storage. I know I can use Backblaze for this - how exactly is this configured? Is there a setting in the lemmy config to point to external object storage providers?

297
1
submitted 2 years ago* (last edited 2 years ago) by testman@lemmy.ml to c/selfhost@lemmy.ml
298
1
submitted 2 years ago by ultraHQ@beehaw.org to c/selfhost@lemmy.ml

Hi all,

I'd like to spin up a lemmy instance with some changes I'd like to make this upcoming weekend, and I'd like to self host a ci/cd pipeline for it.

At work, we use Jenkins tied to Jira.

Our procedure is as follows:

  1. We feature branch, build/deploy to dev (manual), self/peer verify.
  2. Merge to master, build/deploy to dev (triggered by jira), QA tests
  3. Promote to stage (deploy artifact from previous build, triggered by Jira), QA tests
  4. Promote to prod, and pray we didn't miss any edge cases lol

I'm not married to Jenkins and I'd be open to other options, if there's something you've tried that you think is better, I'd love to hear it!

Would be nice to have auto triggers that are tied to kanban stories, but not necessary.

299
1
submitted 2 years ago by BrotherKaryl@lemmy.tf to c/selfhost@lemmy.ml

The death of Reddit shall bring the life of Lemmy.tf

Love, Bro. Karyl

300
1
submitted 2 years ago* (last edited 2 years ago) by sup@lemmy.ca to c/selfhost@lemmy.ml
view more: ‹ prev next ›

Self Hosted - Self-hosting your services.

11599 readers
167 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