I installed Moodle to a directory with Softaculous. Since it doesn't allow installing to a subdomain, after installing it I created a subdomain and pointed the destination (of the subdomain) to the previously created Moodle directory. Now when I go to the
subdomain.example.com it says
Incorrect access detected, this server may be accessed only through "
http://example.com/moodle" address, sorry. Please notify server administrator.
I must be doing something wrong, when installing it was very similar to these instructions.
Any suggestions would be much appreciated.