I have installed Moodle, with the normal web access the site works like a dream.
I tried to update the DocumentRoot
restarted apache, but the site is not found. 404 error
I then reverted to tehg original and inserted a meta tag to redirect to the moodle application and then it worked.
I then thought that I would make the site secure.
As soon as I add the SSL certificates, then the format of the page changes.