Thank you very much for your contributions to this post. You have helped me learn a lot more about Moodle!
I have found the solution to the issue:
2. Go to Softaculous App installer ( or where ever you have installed Moodle)
3. Go to 'edit installation details'
4. Where it says 'url' make sure it states 'https' if it doesn't, simply edit the url (http to https)