i simply choose mynewdomain.com for the trusted host for nextcloud, and when i go to it, i get the main page for nethserver. The strangest part, is that even though i didnt select a virtual host, i can still reach /nextcloud from any FQDN pointing to the server.
I not made any change to any config settings other than adding the country for the phone number, which doesn’t work.
I thought you want to use server3.mydomain.com and mynewdomain.com as Nextcloud virtualhost without needing the /nextcloud path.
If /etc/httpd/conf.d/zz_nextcloud2.conf exists, please delete it.
Just set mynewdomain.com as Nextcloud virtual host in the server manager and add the domain to the trusted domains.
Now it should be possible to go to Nextcloud via https://mynewdomain.com and not via https://server3.mydomain.com/nextcloud anymore.
That’s is the one shipped with the installed package.
The one Markus is refering to is to create a new file to allow you to have more than one virtual host for nextcloud
That is exactly what I did, it doesn’t work without /nextcloud for any domain. All domains point to nethserver splash page and all wor with /nextcloud., including my new domain.com even though it is the only selection as a trusted domain for nextcloud.
Thanks very much Markuz and Marc for your patience and help…there is no way i could have come close to figuring this out, although in the end it turned about to be quite a simple and quick solution!!!
To make the proper configuration file:
Select the first desired domain and enable the Nextcloud virtualhost. To the trusted domains, add the two desired domains.