Live data from Hacker News

Self-Hosted Homelab Website

hydn.dev

81–90 of 121 posts

Re: Self-Hosted Homelab Website

#81

I haven't self-hosted a website in a long time. Do you still need a static IP in order to do so, or do you have some kind of service that updates the IP? How does it interact with DNS?

I'm using a cron job to update A records for my domain at Namecheap, they have an API for updating IPv4.

Re: Self-Hosted Homelab Website

#82
I was impressed by the performance, especially with ExpressJS, and started digging deeper until I noticed "cf-cache-status: HIT".

What I'm seeing is not really a "self-hosted website", but a Cloudflare-hosted cache of a self-hosted website.

Edit: I wanted to get an idea of the "real" performance, so I went to a non-existent page so the cache would miss. I waited 930ms for a 301, then another 590ms for the 404 page.

Re: Self-Hosted Homelab Website

#83
post #78
post #67

Earlier quoted context omitted.

I don't know where it comes from, but the distinction's basically 'when a home server becomes home servers', or at least becomes a hobby, as opposed to just setting up and forgetting a Pi-hole once or something.

Originally, a "home lab" is specifically for learning and testing, primarily for professional reasons: i.e. someone going for a Cisco networking certification might get a stack of old Cisco routers and build test environments with them, someone learning windows networks might setup a windows domain on multiple PCs, ... It's kind of morphed and people fold their home "production" environments into the term too.

It's in the above link:

Homelab [hom-læb](n): a laboratory of (usually slightly outdated) awesome in the domicile

Re: Self-Hosted Homelab Website

#85

Earlier quoted context omitted.

Do you use this commercially? The problem with texting rates isn't technical, it's that carriers essentially have a cartel and can set prices however they want, and have tools to detect and prevent such "abuse" of their cheap consumer plans for commercial usage.

Do you use this commercially? "and have tools to detect and prevent such abuse" "it's that carriers essentially have a cartel and can set prices however they want" <- yes. Carrier to carrier is where things are interesting. Sprint gets quickly blocked by ATT for example. But, wow, a UNLIMITED TEXT plan is pretty cheap...

[deleted]

Re: Self-Hosted Homelab Website

#86
post #37

Nice! I have a raspberry 2b+ with several services: ldap, syncthing, gitea, cups server, minidlna, torrent server, NFS, nginx for PHP stuff like phpldapadmin, phpmyadmin, nextcloud, etc. I realized that I don't need a public IP. I set up zerotier on all my machines and pointed a subdomain that I own to that IP. OK, other people can't visit it, but I rarely need them to. It's perfect, but nextcloud is slow :( Maybe an…

If you wanted it to be publicly accessible in the future, I think you can rent a cheap VPS (DO Droplet) and set up a VPN, and then connect to that VPN on your Pi. Then you can have Nginx on the VPS and reverse proxy to any services you'd like.

They could also try dynamic DNS. I've had success with using ddclient with a personal (sub)domain with NameCheap.

Re: Self-Hosted Homelab Website

#87
post #10

Earlier quoted context omitted.

There are "Dynamic DNS" services with a small daemon you install on your server that continuously update the DNS address so it remains online even if your ISP changes your IP on you. https://account.dyn.com/ https://www.noip.com/remote-access

btw this can be done with a 'proper' domain name too (e.g. at namecheap)

yep, I've done this before with a handy tool called ddclient, although there are other tools out there.

Re: Self-Hosted Homelab Website

#88
post #72

Sweet! Here's my homelab - https://i.imgur.com/QS0o4ni.jpg - I should self host an about page, too. - Netgear Cable modem - Edgerouter ER4 - 8-port POE Edgeswitch, powers the nanoHD AP in my hallway and acts as the backbone of the network. - Raspberry Pi 3 as a dedicated pihole DNS server - TPLink 16 port switch serves all the 'lab' gear. - 2x R720's. One is off, the other is a VMWare ESXi host. - ESXi is pretty ligh…

What shelf is that? And what are those foamy things for? Vibration dampening?

The shelf is an Ikea Hejne. I have a lot of them, very affordable and sturdy.

Re: Self-Hosted Homelab Website

#89

Sweet! Here's my homelab - https://i.imgur.com/QS0o4ni.jpg - I should self host an about page, too. - Netgear Cable modem - Edgerouter ER4 - 8-port POE Edgeswitch, powers the nanoHD AP in my hallway and acts as the backbone of the network. - Raspberry Pi 3 as a dedicated pihole DNS server - TPLink 16 port switch serves all the 'lab' gear. - 2x R720's. One is off, the other is a VMWare ESXi host. - ESXi is pretty ligh…

Is that an RTL-SDR antenna on the top?

Re: Self-Hosted Homelab Website

#90
post #37

Nice! I have a raspberry 2b+ with several services: ldap, syncthing, gitea, cups server, minidlna, torrent server, NFS, nginx for PHP stuff like phpldapadmin, phpmyadmin, nextcloud, etc. I realized that I don't need a public IP. I set up zerotier on all my machines and pointed a subdomain that I own to that IP. OK, other people can't visit it, but I rarely need them to. It's perfect, but nextcloud is slow :( Maybe an…

If you wanted it to be publicly accessible in the future, I think you can rent a cheap VPS (DO Droplet) and set up a VPN, and then connect to that VPN on your Pi. Then you can have Nginx on the VPS and reverse proxy to any services you'd like.

If they're going to spin up a VPS then they might as well decommission the Raspberry Pi, before it decommissions itself. :-)
Post reply on HN