I'm really interested in hosting my own web server at home and would love some advice. Although I'm not a Linux user, I'm willing to dive into it! I'm considering whether to use Nginx or Apache and I plan to buy a mini-PC from Amazon to run it 24/7 on a LAN. Any tips for a newbie like me would be greatly appreciated!
1 Answer
I’ve been running my own home web server without any hassle! Here’s the deal: don’t expose any ports directly to the internet; instead, use a service like Cloudflare to manage your routing and provide security. If you have a dynamic IP address, set up a cron job that will regularly update your DNS records on Cloudflare to reflect any changes. As for Nginx or Apache, either works fine—just follow a guide from DigitalOcean, and you'll be pretty much set!

Thanks for the advice! I'm a bit worried about bandwidth since my site will host large files for downloads. Will using Cloudflare affect my bandwidth costs?