Reputation: 500
I am new to moodle, I have configured moodle on a Linux server, where there was IP address in place of the domain name. After I have replaced a subdomain name with my IP address, but then I am getting a registered site to model error.
but when I tried to register the site, I got the following error. The hub cannot access your site at http://dnl.mydomain.com - Unable to connect (cURL error 6). Make sure that the site is not blocking HTTP requests from AWS IP address ranges.. Your Moodle site and the hub need to be able to communicate with each another. If you are unable to register your site please email [email protected]
well, If I can register site then it will be fine. But if I don't want to register my site then How can I hide this error.
Upvotes: 1
Views: 2826
Reputation: 10241
If its a local site, you can switch off the registration message by adding this to config.php
$CFG->site_is_public = false;
Upvotes: 4