Depends on your ISP. In my case my IP hasn’t changed in the two years I’ve been with them so it was easy as setting up port forwarding in my router. Took a minute or two.
Comment on Alternative to github pages?
sorter_plainview@lemmy.today 6 days ago
Hosting site in your local machine is tricky. It depends on how your ISP configured your network and most of the time you will be under CGNAT. Which means you will not have a unique public IP, but a shared one. Similarly your IP will be dynamic which will need additional configurations. Nowadays it is nearly impossible to host a site on local machine directly.
One thing you can try is Tailscale Funnel. Fair warning, bending your head around functioning of Tailscale is not trivial, and you will have to spend some time to properly understand and set it up.
If you prefer a simpler route, free hosting of a static site is your best bet.
Netlify is the go to solution if you are familiar with Git. I used to have my portfolio up there. Another option is, as you mentioned, Github Pages.
Vercel is the another common one people use. But it might be a little more tricky to get it working, because it focus on front end framework like Next.js.
Checkout Cloudflare Pages too. Very much limilar to GitHub Pages, but with the performance and reliability of Cloudflare.
Heroku is another thing people used in the past. I think the free tier got limited nowadays.
Good luck with your adventures.
BootLoop@sh.itjust.works 6 days ago
littleomid@feddit.org 6 days ago
It’s not “very difficult” to self host. Arguably it’s one of the easier public things to self host. Takes an inexperienced IT enthusiast maybe 2 hours to setup.