Cannot get this figured out.
I have access to my locally hosted server by local IP and domain name in https and http.
I only get the default Apache2 index file in /var/www/html
If I look at /etc/apache2/site-available I see my domain is correct, my SSL certificate and key are at the bottom of the file, but the installation did not set the document root to where the snap installed Nextcloud. The document root is incorrect.# The ServerName directive sets the request scheme, hostname and port that # the server uses to identify itself. This is used when creating # redirection URLs. In the context of virtual hosts, the ServerName # specifies what hostname must appear in the request's Host: header to # match this virtual host. For the default virtual host (this file) this # value is not decisive as it is used as a last resort host regardless. # However, you must set it for any further virtual host explicitly. #ServerName www.example.com
ServerAdmin webmaster@localhost DocumentRoot /var/www/html # Available loglevels: trace8, ..., trace1, debug, info, notice, warn, # error, crit, alert, emerg. # It is also possible to configure the loglevel for ...
Where is the snap install Nextcloud document root I need to use to edit the sites-available file?