Want to install Nextcloud 16 on CentOS 8 with Apache and LAMP. Here is the catch. Only 1 server, 1 interface with multiple DB’s and multiple Nextcloud instances. I managed it on CentOS7 with Apache and SSL.
Who is up for collaborating on this one?
Set up the apache with multiple virtual hosts and assign subdomains to them, like cloud1.yourserver.com cloud2.sourserver.com
…
Each NC instance can run in its own directory like
/var/www/cloud1
/var/www/cloud2
…
and can have its own configuration and database. Also the data directory can (and should) be set up separately:
/var/lib/nextcloud/cloud1
/var/lib/nextcloud/cloud2
…
Works fine for me, with three clouds on one server, beside some wordpress instances and other stuff.
eehmke - that is exactly what I did in CentOS7, but in CentOS8 with LAMP it is a different story all together, as LAMP manages the Web Instances and not via the httpd.conf like in previous instances.
Can’t you set up the instances manually? In Debian, I have a directory /etc/sites-available/ where I can put in config files for the different virtual hosts, so I have not to touch the global httpd.conf file.