I setup Nextcloud on my Raspberry Pi 3 and can access it locally using the ddns.net domain I got from noip and through the ip assigned to the raspberry. But I cannot access my cloud outside of my local connection, such as on my phone without wifi enabled.
I forwarded ports 80 and 443 on my router to the raspberry pi. Not sure what else to do.
Double check if your ddns.net domain really points to your public IP.
How do you handle public IP changes? Is your ddns.net domain configured in your router?
I found my public ip via curl ifconfig.me and used this ip on ddns.net. I also entered my ddns.net login credentials on my router if that’s what you mean by configuring the ddns.net domain on the router. Though this ip address is the exact same one as the WAN ip listed on my routers status page.
I have ports 80 and 443 forwarded to a different ip address which is a variation of my default gateway ip: 192.168.0.X.
I also have the NoIP Dynamic Update Client installed and running on my RPi.
If you configured your ddns.net domain in your router, you don’t need the NoIP Client on your Raspberry Pi (which is very sh*tty to be honest), because your router handles the changing public IP.
Technically, dynamic IP service and port forwarding should be all you need to do. I don’t know if this could be an issue, but did you provide your Apache/nginx configuration with your Raspberry Pi’s IP address or with your ddns.net domain?
I just found out my ISP blocks port 80 incoming. Do you think this is causing the issue of not being able to access my cloud outside my network?
and
Also, the port checking site says both 443 are closed.
We’re somewhat out of options if the ISP blocks ports higher up the chain I’m afraid.
As you didn’t mention 443 (which I suspect is also blocked) you can ask them again, but I wouldn’t hold my breath.
I was able to access my NextCloud by changing port 80 to 8080.
Is my setup correct?
Right now when I visit my domain.com it redirects to my ddns.net domain which redirects to my WAN ip (difference is the last set of digits) 68.8.3.xxx:8080.