Move from webroot to nextcloud subdir

Tech and Me VM, fresh install with ssl fully upgraded to Nextcloud version 13.0.1, Ubuntu, Apache2 today.

After successfully installing, upgrading, launching and connecting clients to the TechandMe VM appliance, I want my apache server site to respond to nextcloud at http[s]://server/nextcloud instead of at root http[s]://server/, and I prefer the html folder to be at root instead of at /html.

This is a seemingly basic problem for an apache pro yet I am having difficulty getting the config files correct. myphpadmin seems to mystically respond properly. Any guidance would be appreciated. Thank you sincerely in advance.

Check your virtual hosts file in /etc/apache2/sites-avaible/“yournextcloudvirtualhostfile”.
There you can set your documentroot for the virtual-site :wink:

Examples:

https://httpd.apache.org/docs/2.4/vhosts/examples.html