Which web server software do you recommend?

Asudox@lemmy.world to Selfhosted@lemmy.world – 28 points –

I want to host my website in my raspberry pi, I've read that I would need a web server software for this. Which one do you recommend? It won't be a complex website.

46

You are viewing a single comment

Hosting personal websites on your own hardware is such a pain, and I would imaging doing it on a rpi would be even more of a pain than on x86 architecture. If at all an option I'd recommend hosting on something like github pages or better still on a VPS.

Well thanks, I guess. But do you have a recommendation? I'm sure a simple website won't cause any problems on a raspberry pi.

The main issue is not the website itself, but opening your network to be reachable from the internet in a safe way.

and sometimes you literally can't. see CG-NAT, something my ISP is doing, so fuck me right.

Yeah CGNAT makes things a pain in the ass but it's not a show stopper. Get a cheapie cloud VPS and install NGINX Proxy Manager (NPM) on it. Then do a WireGuard tunnel between your server and the cloud VPS. Problem solved. Or you could use Cloudflare tunnels but I wouldn't recommend that.

I hosted websites on my own hardware for 20 years and it worked out well Recently I've been using a VPS, and that has many benefits and drawbacks. Is it worth paying for the VPS? Maybe. That all depends on your situation.

I run 4 websites on my one VPS, and 2 websites on another more restricted cloud container service. Three wordpress, one DICOM server and viewer (radiology image database), one moodle, and one complex git mediawiki setup. Plus some sandbox stuff. Get about 10,000 unique views a day in total across all sites.

I don't know enough about network security to run that safely nor how to get great uptime at home as I run it all single handed and my day job has little to do with computers (am a medical doctor). I do expose some docker apps to the internet that run on my home server but they are only used by friends and family.

When I've needed temporary simple static web pages I've used jekyll on github pages and found it great.

5 more...