awsmoodle

Debug Moodle errors

Troubleshoot domain name errors

You may see the following error:

PHP Notice: Undefined index: HTTP_HOST in /opt/bitnami/apps/moodle/htdocs/config.php

To resolve this specify your domain name or IP address in the /opt/bitnami/apps/moodle/htdocs/config.php file, as shown below:

$CFG->wwwroot   = 'http://SERVER-IP/moodle';