Site registration

From MoodleDocs

Boost-Moodle-Registrations.jpg

Why register my site?

Your site must be registered if you want to use the Moodle app.

Registering your site also gives us a better picture of how Moodle is used worldwide and helps us make decisions about new features and plugins.

4 reasons to register

  1. Stay up to date by email whenever there are new releases of Moodle or security alerts.
  2. Receive Moodle app notifications from the messaging server https://messages.moodle.net.
  3. Be part of the statistics of the worldwide community.
  4. List your site on our list of registered sites in your country. (But if you want to keep it private, that's fine too!)

How about security?

We don't share your information with anyone. We don't go into your site. We use the aggregated anonymous data to publish the statistics of the worldwide community and use the other data to help us in our decision making around new features and plugins.

How do I register?

Register your site by logging in as an administrator and going to Site administration / Registration. If you're not the admin, ask them nicely to check!

I don’t want my details public

Your registration is private to us unless you choose to make it public.

Do I have to register? What happens if I don’t?

Registration is optional, but we wouldn't want you to miss out on any important security issues or upgrades and put your site at risk. The more people who register, the better a picture we get of how Moodle is used and which aspects we can improve. So registering is a win-win for you as well as for us.

However, if you only want to use Moodle for testing things out then you don't need to put your site online and you don't need to register it.

I can’t register my site

Note: Only sites which are online can be registered. If your site is "localhost", i.e. not on the internet, then we cannot connect to it for registration.

Here are some common registration problems. If your problem is different from these, or if you have tried and still cannot register, then get in touch via the Moodle.com contact form.

I can't update my registration

Try un-registering then re-registering your site. To un-register your site, click the ‘Unregister’ link at the bottom of the Registration page.

unregistr.png

I registered but my site isn't listed

Assuming you wanted your site to be listed, be aware that the process can take a week or two, so be patient. If it is not listed after two weeks, get in touch via via the Moodle.com contact form.

I obtain the message "You are trying to register a site with a URL that was previously used by a registered site"

Get in touch via the Moodle.com contact form with information about your site URL.

I can't register because I get the message "Your site is already registered"

Get in touch via the Moodle.com contact form with information about your site URL and we will delete the original registration.

I get the error 403

This is not a Moodle error but an Apache configuration error that your hosts need to solve. If you are hosting the site yourself, then you can get support from the Moodle community forums.

Also read the section below: "The hub cannot access your site."

I get the error 404

I get the error 503

One reason might be that you are using CloudFlare for protection. Make sure you allow traffic from the AWS EU region, as you will need to whitelist stats.moodle.org. If you need a more specific IP address, get in touch via via the Moodle.com contact form.

I can't register my cloned site

Follow these steps assuming you have access to the database and the console:

1. Remove the site identifier from the database:

Delete from {config} where name = 'siteidentifier';

delete from {registration_hubs};

2. Clear the cache:

php admin/cli/purge_caches.php

3. Attempt a new manual registration (admin/registration/index.php)

"An error occurred during registration update (Invalid token - token not found)"

Try unregistering your site yourself by clicking the Unregister link at the bottom of the registration page. If that does not work, get in touch via the Moodle.com contact form and we will unregister your site.

"An error occurred during registration, please try again later. (Coding error detected...)"

Try unregistering your site yourself by clicking the Unregister link at the bottom of the registration page. If that does not work, get in touch via the Moodle.com contact form and we will unregister your site.

"The hub cannot access your site"

  • Your site must be on the internet to register; we cannot connect to "localhost".
  • Your site must not be in Maintenance mode as we cannot connect to it in Maintenance mode.
  • Allow all incoming requests from the IP address 52.31.34.236 and the User Agent "MoodleBot"
  • Check if Port 443 and 80 are in your cURL allowed.
  • The stats server is in Ireland. The current valid values for the stats server are 18.202.77.12, 3.249.15.186, 3.252.152.219 and 34.254.223.201 - this IP could vary if the service is restarted) Allow requests from these addresses.
  • If your site is behind a secure connection, we cannot connect to it to register. (However, you could open it up for a short time, register and then close it again)
  • Make sure there are no firewalls preventing access to the Moodle server. Sites need to accept traffic from Amazon EU networks in order to register.
  • If you have tried all of the above and still cannot register, get in touch via the Moodle.com contact form