I am new to Nextcloud, well home servers in general! I have installed Ubuntu Server 18.04 in a VM on Proxmox running on my Dell R710 and during the Ubuntu installation I chose to also install Nextcloud as an option. As far as I can work out this is a Snap installation.
I used noip.com to create a hostname to get back to my server, I opened ports 80 & 443 on my modem/firewall and when I type my hostname in a browser (i.e. whatever.ddns.net) I get to the log in page for Nextcloud, all good so far. I even managed to install the windows app and android app and got those working too. Great.
However, I was aware that this wasn’t a secure connection, my browser shows it as “not secure”. I followed these instructions - https://certbot.eff.org/lets-encrypt/ubuntubionic-apache to install Certbot but then I encountered my first problem, when I browsed to my hostname I got the default Apache2 webpage! After much Googleing I managed to get it back to my Nextcloud log in, but only when Apache2 is stopped!! When it is running I get a 403 Forbidden, You don’t have permission to access this resource., Apache/2.4.29 (Ubuntu) Server at whatever.ddns.net Port 80 message or “this site cannot be reached” when adding https:// to the start of the hostname.
Any help to get this fully working would be great, thank you.