3 ms·
If what you need is a web server, get a web server. You can get decent web hosting for 20€ per year and it will perform a lot better than your 5€ VPS.
by franga2000 4y ago
If what you need is a web server, get a web server. You can get decent web hosting for 20€ per year and it will perform a lot better than your 5€ VPS.
- javajosh 4y agoDo you have an example? There is no unambiguous way to define "web server"! Consider all the ways you can rent a host in virtually every state between disassembled parts on a table (Newegg) to renting DC for your own hardware (Hetzner) to running an httpd process running in a hypervisor running on a fully managed server in a DC (VPS) to sharing wordpress db/virtual host space on a LAMP process (wordpress.com). And everything in between. (And that's not every option, either. "Push markdown and let github/gitlab publish it for me" or "write a gist" are in this space, as is codepen, meteor, aws, and reddit - really anything tool or stack that lets you "change the state of the public web". Even HN!). In fact, understanding this spectrum of options is a task in itself - imagine starting from scratch and trying to pick a path! At what point on this spectrum do you transition away from "self hosting"? Personally, I put the line at "vanilla VPS". I do not consider sharing wordpress space self-hosted, nor is having a webmin. (And yet, either is certainly more self-hosted than a Facebook group page!) My approach was "device oriented" in that I wanted to act as if I was configuring a fresh piece of server hardware with a new OS and so on. The cheapest way to get that is a VPS. It is at this level that I feel I have the most flexibility, the least lock in, and, importantly, the most leverage.
- Tijdreiziger 4y agoShared webhosting as a concept is decades old and still works. You just upload your web pages via (S)FTP and then you can access them on the internet. That's how most people (including me) got started around 10-20 years ago. I'm still hosting my personal websites on a shared host today, because it just works and requires no maintenance on my end.
- javajosh 4y agoThanks for explaining. I had no idea the issue was so simple.
- mturmon 4y agothe service https://www.pair.com https://www.pair.com has been highly reliable for me for ~20 years now. I use their "shared web hosting" tier and just upload a static site to my $HOME/public_html directory where it's served by their system. Very simple, and you control the site content (html/css/js and images or whatnot).
- BizarroLand 4y agoI understand the processes required but if you or anyone here knows, what would be the least expensive / most sustainable way to set up a personal VPN & pihole plus a simple website hosted on a server? I already run a small server at home for NAS / HomeAssistant / PiHole, etc., but I would like to be able to access it anywhere and enjoy the benefits of ad blocking and personal media access on my phone outside of my home network, but I don't want to spend $25+/month for crap tier single 9 service, and at the same time, I don't need flawless service with five 9 uptime guarantees at any price, either. I'm guessing that I would need a VPS provider that allows SSH access to some flavor of linux server with a static IP or at least a domain name. Am I on the money with this, or is there something that I didn't consider? If I am, would you still recommend pair.com or is there a VPS provider that might be a better fit?
- castillar76 4y agoFor something like this, I’d look at a small cloud instance running at Hetzner or similar. You can run Pihole on that so you don’t have to reflect your traffic through your home Internet connection. You can then use something like ZeroTier or Tailscale to be able to access your home server and the Pihole service while you’re on the road, so you’re not worried about making services available to the whole Internet.
- deleted 4y ago