Hi,
I am installing Moodle 3.9 onto a Azure Ubuntu VM using the website: https://docs.moodle.org/39/en/Step-by-step_Installation_Guide_for_Ubuntu
I've set up an SSL certificate to the IP of the virtual machine using certbot and it works well, if I type the domain name it comes up as https://domain name etc. and I see the apache server's default page.
However, if I type https://domain name/moodle, (as I am told in the instruction) it turns to http://IP address/moodle.
In the SSL config files, certbot set a redirection rule, and it looks working, so I suppose the issue is from Moodle, but I don't know where.
Whilst following the documentation, I am at environment check (server check) and I am warned that the site is not secure which is true. I don't want to carry on with the installation until fixing the problem.
Could anyone help me with this please?