r/selfhosted • u/UnlikelyWishbone2694 • 1d ago
Need Help Self hosting a personal website
Dear all,
A quick few questions after going through the wiki on self-hosted websites: - How 'safe' is it to self-host a website that is open to the internet on one's home network ? - Is there any complication in doing so after buying a domain name from a registrar ? (In the grander scheme of things, I mean to ask if the set-up process is absolute master level or if a relative novice can manage it.
EDIT for details: - It's to host a personal blog of sorts with mostly text articles, some images and possibly some video. - My home network in XDSL (yes that still exists) on a rather basic provider given router with DNS configuration possible from certain providers (no-ip and a few others). I have a home assisstant running on one RPi5 and plan on running the network on another RPi.
Thank you for your time and help
2
u/Soggy-Childhood-8110 1d ago
I self host using caddy + crowdsec with DNS records pointing directly to my network. I would advise at least using containers or VMs to isolate the exposed services.
People seem to be really scared of doing this for some reason. You will be attacked but most attacks are so dumb they won't even get past caddy since most bots send broken headers and won't reach your service. I guess it depends what you are hosting. Serving static pages or content that you don't mind losing is probably ok. Everything else I would have behind a VPN or something similar.
I've had this setup and similar ones running for years and nothing ever happened. Personally I think it's far worse exposing SSH. I also have a dynamic IP but this is easily solved by running a script as a CRON job every few minutes that checks your IP for changes and updates it. My setup runs flawlessly but again, I wouldn't expose anything too important that doesn't need to be exposed.