Hey everyone! I'm looking for some guidance on hosting websites from my home network. I'm pretty new to this and honestly a bit worried about the potential security risks. Currently, I'm running an Nginx site inside a Docker container on a Proxmox VM on my home server. I plan to use a Cloudflare tunnel to access it. Are there any concerns with that setup? I want to make sure my home network is safe, especially since there are other people on the network with important business data.
Do you think it would be better to just host the website's frontend using a service like Namecheap and keep the API backend accessible through the Cloudflare proxy? Any tips or resources you could share would be really appreciated, as I'm having trouble finding solid information on this. Thanks a lot!
2 Answers
For what you're planning, isolating your web server from the rest of your home devices is crucial to minimize the attack surface. Once you're compromised, vulnerabilities could spread more easily. You might want to ask in r/homelab for tailored advice on your setup.
I used to host my Nginx setup on Hetzner, not in a Docker though. Just curious, why did you decide on Docker? By the way, what type of website are you running? I’ve set up a React app on Coolify, which lets you manage frontend, backend, and database all together, reducing the dependency on third-party providers.
Related Questions
Cloudflare Origin SSL Certificate Setup Guide
How To Effectively Monetize A Site With Ads