Hi there!
A friend and I recently started working with Moodle, trying to set it up on an Ubuntu-based AWS server using this guide, and we succeeded in getting a test version of it up and running, which appeared to be stable; however, I have very little experience with network protocols (or network elements in general), and so when I tried to switch the Moodle setup to full HTTPS, the site became inaccessible. I can still access the default AWS's apache/ubuntu landing page, so I know that the ports for the server itself aren't an issue, it's just access to the website.
For the record, the site itself did its usual checks before actually converting to HTTPS and found no issues with anything, but it's just that I can no longer access the site; the ports on the AWS server itself are set to 80, 22 and 443 (I believe SSH, HTTP and HTTPS)--but I only set those because, again, I have very limited (if any) experience with network elements of websites and webservers, and those seemed to be the recommended settings, though they're all set to 0.0.0.0/0 and ::/0, allowing any incoming connections; I know I'll probably have to change this later, but it'd be nice to just have it running on HTTPS in general first.
I assume that I now need to edit some settings in an .ini file somewhere(?), but to be quite honest, I have no idea where to start, other than knowing that the Moodle installation is in the /opt/moodle directory.
I know this isn't a lot to go on, but both my friend and I would greatly appreciate if anyone has any advice or insight as to what I can do.