Installed nextcloudpi out of the box onto RPi4. Everything seemed to be OK. I kept the default login password for ncp and can access it on my LAN at nextcloudpi.local and nextcloudp.local:4433.
In the config.php file I set my internet address from my ISP as a trusted domain.
I set up a reroute host record in noip to send requests to my router, type A record, for example, my domain is mycloud.webserve.com
I created a port forward rule in my router: forward http port 80 to my PI LAN address port 80 and forward https port 433 to my PI LAN address port 433. I’ve created similar port forwarding rules to my other local web servers and have had no issues.
Here is the issue:
Using Firefox I enter: mycloud.webserve.com and I get the nextcloud screen ‘Access through untrusted domain’…but I already set the ip address from my ISP as the trusted domain, so not sure why this is happening. Help please
Furthermore, if I enter my IP address provided by my ISP e.g. xxx.xxx.xxx.xxx, I get the nextcloud login, login with my username and pw that I set up during install, and then the dashboard page is displayed and can see files, add directories and files through the web interface, etc. All seems well.
And, If I enter http request to my domain created in noip, in my browser, I get the login screen, and firefox tells me that it is not a secure connection (I expected this)
And if I enter https request to my domain created in noip in my browser, I get the login screen, but firefox tells me that it is not a secure connection (I did not expect this – apparently it defaulted to http)