I set up my Nexcloud Box. Then I accessed via SSH and set a static ip.
Now my Nextcloud Box still thinks it is at its old ip address (see image).
After a reboot, when I try to access my Nextcloud Box from my laptop machine I get the dreaded “You are accessing the server from an untrusted domain”. This is weird because just before I switched the ip address from 192.168.2.202 → 192.168.2.10 everything worked just fine.
If I press the “Add 192.168.2.10” as trusted domain" button (see image) everything just hangs. It is because the button is trying to go to its old ip: 192.168.2.202 .
Which setting do I need to update in order to fix this issue? Can this be fixed in the web GUI? If not, can someone provide the path to the files to edit?
The automated adding only works if the primary trusted_domain is working. You changed the ip address of your device (which is one solution) but you can also add trusted_domains in your config/config.php.