Dear Community
I have discovered Nextcloud a few months ago and have started to play with several different installations and have finally settled on the most current version of nextcloudpi. (V 1.55.3)
I have then passed ports 443 and 80 from my router to the ncp. The router is a run of the mill “fritzBox”, a German brand of internet router for home use, which also offers a free DynDNS Service from the manufacturer, which I am using and which is also very reliable.
First of all let me tell you what actually works:
1.: I can access NextCloud from outside my own LAN without any issues. Both with any variety of browser, as with the mobile and desktop clients. No issue at all.
2.: I can access it from within my own LAN from any browser, both with using its own IP and by using the DynDNS domain.
3.: I can do the same as in 2, from outside my own LAN via VPN access.
4.: I can access Nextcloud from any mobile or desktop client from within my own LAN by entering the local IPv4 without any issues.
Now here comes the issue, I can’t wrap my head around:
From WITHIN my own LAN I can not access Nextcloud from any desktop or mobile client by entering the URL of my DynDNS.
What really gets my head spinning is the fact, that this unique to using the mobile or desktop client and is no issue at all when using a Browser.
I have studied several forum threads (on this forum and on others) that deal with similar problems and I have attempted the following to solve the issue:
1.: I have set up a DNS rebind protection in my router for any possible URL that might be required to be accessed - no change.
2.: I have set up a pi hole server as a DNS in my LAN and created a local DNS record for the url in question. I have then designated pi hole as the DNS for my LAN and restarted everything - no change. (pi hole will actually be the next project I want to tackle)
3.: What I don’t get is, that the desktop client returns the following error when attempting to login from with my LAN via the external URL: (I have change the domain for privacy reasons)
Failed to connect to Nextcloud at https://mydyndnsdomain.com/
status.php:
Server replied “404 Not Found” to “GET https://mydyndnsdomain.com/status.php/nextcloud/status.php”
What I really don’t get is the error message, and that is no typo or mixup in there. It wants to call up a path, that does not exist. If I call up the path under “https://mydyndnsdomain.com/status.php” I get a regular reply of the respective php-routine. I have no clue why it wants to call up a path, that doesn’t even exist in a Nextcloud installation.
Looking at this fact it is no surprise to me, that the client can not connect if it attempts to call on a path that is not there. But I don’t get it, why it does that only when I want to connect from with my LAN via the external URL.
Since the mobile clients do not present any error message that contains anything worth mentioning, I can only assume that their issue is the same.
I appreciate any thoughts on the subject matter at hand, as I really have no clue what the problem might be.