I installed nextcloud a couple of months ago on my Ubuntu 20.04.1 server. It worked fine but I wasn’t ready to actually use it so I just left it. Then yesterday I installed apache for my wife’s project, not thinking that there might be some conflicts. Now neither one works. Then I set the apache server to listen on port 8080; it also has a redirect for all connections to port 443 SSL. That didn’t help. I disabled snap.nextcloud.apache; that didn’t help. There is nothing in the access.log or error.log, and nothing in syslog that looks relevant. I disabled the firewall but that didn’t help. I also have a wireguard server/peer on my droplet, and when I turn on the wg VPN then I can get the apache test page to show up, so it looks like the server is installed and configured but it doesn’t show up to the outside world. Any help would be appreciated.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.