Good afternoon, sorry for my English I’m using a translator.
I have been searching the internet and in this forum for my problem but I have not been able to find it or apply the solution.
My problem is the following:
I have a Synology and I have installed the latest version of Nextcloud (v.13) next to it I have also MariaDB 10, PHPMyAdmin, WebStation and PHP 5.6 and 7.0.
What I want to do is that the Synology has its own IP and Nextcloud another. Currently Synology has 192.168.1.10 and Nextcloud 192.168.1.10/nextcloud.
I have modified the config / config.php file, specifically the parameters:
trusted_domains and overwrite.cli.url, adding the IP that I wanted it to be
0 => ‘192.168.1.10’,
1 => ‘192.168.1.18’
‘overwrite.cli.url’ => ‘https://192.168.1.10/nextcloud’, ‘https://192.168.1.18’,
IP synology 192.168.1.10
IP nextcloud 192.168.1.18
But when modifying the file it does not find the Nextcloud server; if I leave everything by default if it works correctly.
Thanks for the help,
In order to change your Nextcloud server IP address, assuming you’re using Linux do this:
sudo nano /etc/network/interface
I’m assuming your current interfaces configuration looks like this:
iface eth0 inet dhcp
Instead, do this.
iface eth0 inet static
dns-nameserver 10.0.0.8 10.0.0.9
Finally, we’re going to restart the interface.
sudo /etc/init.d/networking restart
Please note, these are my personal settings for my Nextcloud server. However, yours may vary. Also, make sure that you assign and ip address that isn’t already in use. Let me know if you need anymore help!
[RU] Эти рекомендации несколько устарели. В nextcloud версии 2022 в качестве платформы используется UBUNTU 20.04.1 LTS. А там это не работает, заменили сетевым планом … /etc/netplan. Ввели новый интерфейс со старыми командами … Как изменить адрес IP для этого случая хорошо написано тут: https://prowebmastering.ru/ubuntu20-04-static-ip.html. Проверено это работает.
[EN] These recommendations became outdated a little. In version 2022 nextcloud in quality it is platforms UBUNTU 20.04.1 LTS is used. And there already it does not work, replaced with the network plan… / etc/netplan. Entered the new interface with old teams … How to change the address IP for this case it is well written here: https://prowebmastering.ru/ubuntu20-04-static-ip.html. Is checked it works.
Well I don’t know what you mean by saying: “quality platforms UBUNTU”. But I for my self went away from Ubuntu because of exactly such “non-standard” things like Netplan. In Debian I can still edit /etc/interfaces when I want to change my IP without this unnecessary layer of complexity called Netplan
Besides of that, we don’t even know what operating systems were actually used in these four year old posts. The thread creator talked about Synology, for which I doubt that Mulany’s answer did help at all. Also Mulany was just talking about “Linux”. It could as well have been Debian or something else. And all this has not much to do with Nextcloud anyways and can usually be found in the wiki or the documentation of the respective OS / distribution.