I'm trying to host a web server through a Raspberry PI 4, but found some problems in the final steps of my configuration. What I did is the following:
- Install Nginx.
- Install Node to host my site (I'm using Express).
- Started server on localhost:7070.
- Modify Nginx configuration setting
proxy_pass http://localhost:7070;
insidelocation / {}
. - Install No-IP on my Raspberry and connected it to my No-IP account.
- Started the No-IP Dynamic Update Client (DUC).
- Configured port forwarding in my router.
With this my Raspberry was supposed to work, the site works fine when I see it through the LAN IP address, but doesn't appear at all when looking for it through the internet. Checking my router I found that its public IP address is different from the normal public IP address. This means that my router is not connected directly to the internet, but to another subnet of your ISP.
I'm thinking that No-IP might not work for this specific router configuration. When I try to look up my normal public IP address on a browser (http://XXX.XXX.XXX.XXX) it sends me the 'This site can't be reached' error and when I look it up through my No-IP Hostname (http://ramonorraca.ddns.net) the same thing happens. I'm sure that my No-IP Hostname is connected to the correct IP address, I can validate that through the photo I just linked.
Do you know if No-IP works in this particular case where the Router's public IP belongs to a subnet (some NAT given by my ISP) that is then connected to the actual public IP address? I've checked all over my configs, but I'm not able to find anything wrong.
The steps I followed are explained in this tutorial.
Thank you for your time!
PS: I tried to find a specific No-IP community, but had no luck. I hope this community can help.