3 ms·
You’re going to run into a problem right off the bat: Your home network is likely behind a NAT and has an IP assigned by your ISP that can change at any time. Y
by Uehreka 5y ago
You’re going to run into a problem right off the bat: Your home network is likely behind a NAT and has an IP assigned by your ISP that can change at any time. You’ll need to tunnel through a server in the cloud somewhere (or use a tool like ngrok that tunnels through a server in the cloud). And now that proxy server is “really” the server, because if the business providing the tunnel decides you’re using too much of their bandwidth, they can throttle you, and if you don’t want to get throttled you’ll likely need to pay by the GB/month for a premium tunneling service. You could make your own tunneling service with an EC2 instance, but it’s the same difference: You’re paying AWS, and the EC2 server is now your “real” server.
As far as I can tell (and I’ve looked pretty hard) there’s no good way to run a website from your house without tunneling unless you have a very unusual house or a very unusual ISP.
- walterbell 5y agoTake a look at Tailscale and open-source alternatives.
- Uehreka 5y agoJust looked it up, this looks like a tool to let you and your friends create a “private internet” using a VPN. Which is cool (I could see a bunch of uses for this, like SSHing into my home computer while I’m on the go), but I’m talking about the ability to expose a device on your home network to the public internet.
- walterbell 5y agoOne approach is to use a public proxy + tailscale VPN, https://init8.lol/expose-web-services-at-home-via-tailscale-for-fun/ https://init8.lol/expose-web-services-at-home-via-tailscale-...
- Uehreka 5y agoYeah, but the public proxy is exactly the thing I’m trying to avoid. If we’re talking about hosting a static site like your personal portfolio, then once you put a proxy in front of it, you might as well just host the site where you’re hosting the proxy. My complaint is that there’s no way to host a website from home without either paying for a cloud VM to proxy traffic or paying a company who uses a cloud VM to proxy traffic.