Re:Website is hosted on ESP32 ($3 chip)
by flycatcha on Sunday November 05, 2023 @02:06PM
(#38154452)
The tutorial talks about how to do a local webserver where you manually navigate to the IP address. How is this being served over the internet?
[ Parent
| on HN ]
DNS and port forwarding.
And probably buying a static IP from your ISP.
Re:Website is hosted on ESP32 ($3 chip)
by byteknight on Sunday November 05, 2023 @02:37PM
(#38154786)
Just DDNS
Not all home ISPs give you an entire IPv4 address. Some have fewer IPs than subscribers and thus use a NAT. Sometimes a very restrictive one.
Re:Website is hosted on ESP32 ($3 chip)
by roywashere on Sunday November 05, 2023 @03:14PM
(#38155173)
In Europe, most ISPs use carrier graden NAT nowadays
You can get around the issues of CG-NAT by setting up a reverse tunnel to an external server you control.
Re:Website is hosted on ESP32 ($3 chip)
by LoganDark on Sunday November 05, 2023 @03:37PM
(#38155410)
nginx reverse proxy
Re:Website is hosted on ESP32 ($3 chip)
by harry247 on Sunday November 05, 2023 @05:48PM
(#38156491)
yes, I have a static IP and port forwarded. It IP can be mapped to website (dns name) via namecheap and godaddy like services. This is enough to put it on internet
In this setup I added a nginx in between (doesn't enable cache yet) for load balancing.