Comment on Any nice playbook or tutorial to host a static website from home?
traches@sh.itjust.works 1 week ago
The trickier part here his connecting your domain to your raspberry pi and allowing the big internet to access it. You have a few options:
- Set up dynamic DNS to direct your domain name to your (presumably dynamic) home IP address. Forward ports 80 and 443 to the rpi. The world knows your home IP address, and you’re dependent on your router for security. No spam or DDOS protection.
- Use a service such as cloudflare tunnel. You’re dependent on cloudflare or whoever, but it’s an easier config, you don’t need to open ports in your firewall, and your home IP address is not public. (I recommend this option.)
activ8r@sh.itjust.works 1 week ago
To add on, if you are set on using nginx then it’s easy to set up https with certbot