- Get a static IP from your ISP
- Point the DNS record at the static IP
- On the server run NGINX + Gunicorn + Django
That setup will have >99.5% uptime and handle 1000 - 10,000 concurrent users, depending on the complexity of the website.
- Get a static IP from your ISP
- Point the DNS record at the static IP
- On the server run NGINX + Gunicorn + Django
That setup will have >99.5% uptime and handle 1000 - 10,000 concurrent users, depending on the complexity of the website.
Unfortunately easier said than done. Many of the major ISPs, like Comcast, don’t offer them to residential customers. And some ISPs (like mine, in the past) won’t do business service to some residential buildings.
Fortunately there are dynamic DNS services that help with this problem.
A dynamic DNS service might be cheaper tho.
In Germany most ISPs don't even give you a dynamic IPv4, it's cgnat so you share with a lot of other people.
But there are ways around it. I use Cloudflare Tunnel and that way I don't expose anything (I could only do it with ipv6 but in the end Cloudflare Tunnels are easier)
I've also got 10G fiber with them, and at least this time the IP didn't change after they updated the firmware on their garbage ONT. XG(S?)-PON stuff is still real immature.
Now you can run your homeserver even from a hotspot, if needed.