Changing IP Address

Nextcloud Version 12.0.3
Operating System FreeNAS-11.0-U4
Apache Version 2.4.27 (FreeBSD)
PHP Version 7.1.9

Hello All,

This was my first real project with FreeBSD and managed to get it working with the help of two guides.


The box has no WAN connection and will only be used locally. I set it up for a friend at a different location of where its going to be installed and now need to change the IP address. Currently the IP is and I want to change it to It is very simply to change the IP in FreeNAS.

I also added the new IP to ‘trusted domains’ in /usr/local/www/apache24/data/nextcloud/config/config.php

0 => '',
1 => '',

Should that be enough to get it working or do I need to change anything else? I would hate to get there and it not work,

Thank you in advanced!


If you access your cloud through a local ip only, you probably have to change all clients as well. Using a domain would make it easier and you can easily change the ip whenever you need. For a local domain (mydomain.local) it’s probably good if you control the local dns resolver (often on your router) to give the right ip address.