I seem to have made some mistake in trying to fix an issue with letsencrypt, and now when I enter the URL for the server, I get a list of the directories as opposed to the nextcloud index.php
(which is what it was serving by default before).
I don't know of any change that I could have made along the way that should cause this, but it's happening anyway. I guess it is a chance to learn.
How can I have the server go straight to url.etc/owncloud as opposed to showing a pair of folders?
P.S. I'm not an apache expert but I did look this up before asking and nothing jumped out at me. P.S. 2 I couldn't think of a better title - feel free to edit (I'm tired, to be honest).
foo.xyz/
to go tofoo.xyz/owncloud
?DocumentRoot
to point to/var/www/owncloud
if you just wantfoo.xyz
to serve Owncloud directly.