Setting up peer-to-peer networks
This section deals with peer-to-peer networks, where two Moodle servers are connected.
For demonstration purposes, we have set up two local sites (two peers); one is located at localhost:8888/one
and the other is located at localhost:8888/two
.
The two sites do not have to be in the same domain or organization. For example, two universities or two high schools might want to offer a collaborative course. They both have their own Moodle system in their domain, and they both control who gets access to which part of their site.
If your two sites are hosted in the same top-level domain, and you are accessing both sites from the same web browser simultaneously, change the cookie prefix of one site (Site administration | Server | Session handling) to avoid any conflicts.
Adding network peers
Go to Site administration | Networking | Manage peers and add a new remote host you want to connect to. We are currently working on localhost:8888/one
; to...