Nextcloud for local network only

I am using Oracle VM VirtualBox and installed Ubuntu 18.04 LTS with two network (One for Internet and other one for Local area network). I want to install nextcloud for local area network access only. While the LAN with internet will be used for update and maintenance only for OS and Nextcloud. How to configure to achieve this? Please help

If this doesn’t help you, we can discuss alternative ways to achieve it.

Make the virtual host only listen to a local ip address and allow connections only to other local ip addresses. Also set the hostname to the ip address or local domain name (no public one).

And go even a level higher, use a different local ip address for both setups. On the router, you can block outgoing connections from the internal nextcloud (or perhaps just allow some to the update and app server).

Thank you very much

1 Like