# Installatie

Om de multi-URL-modus te configureren, heeft u nodig

* toegang tot de configuratie van uw webserver
* toegang tot de definitie van uw domeinnamen
* toegang tot het Chamilo-configuratiebestand

Het installatieproces is als volgt

* update *main/inc/conf/configuration.php* door de commentaarteken vóór de regel te verwijderen: *$\_configuration\['multiple\_access\_urls'] = true;*
* voeg ServerAlias-richtlijnen toe in uw Apache's VirtualHost (zie hieronder)
* definieer domein- of subdomeinnamen (DNS) zodat ze naar uw server verwijzen
* \[verouderd] voeg regel “1,1” toe aan uw *access\_url\_rel\_user* tafel (deze regel is niet meer nodig vanaf Chamilo LMS 1.9).
* ga naar de Chamilo admin-pagina en volg de link *Multiple URL portals*
* herdefinieer uw hoofd-URL (vervang *localhost*) en voeg de gewenste subportalen toe, voeg vervolgens een lokale beheerder toe en schakel deze in voor elk ervan

![](/files/-LioWF3K4EnMwomoWm67)

Afbeelding: Administratie - Multi-URL's

Voor twee verschillende multi-URL's en één administratieve URL, gebaseerd op het domein *campusabc.com*, zou de VirtualHost er ongeveer zo uitzien:

```
ServerAdmin webmaster@campusabc.com
DocumentRoot /var/www/campusabc.com /
ServerName admin.campusabc.com
ServerAlias pepsi.campusabc.com
ServerAlias cocacola.campusabc.com
```

Vergeet niet altijd te bedenken dat uw eerste portaal een generiek, administratief portaal zal zijn. Gebruik het bij voorkeur niet voor directe toegang door studenten. Declareer zoiets als admin. \[Domeinnaam] als de eerste host, en declareer vervolgens de URL's die je echt gaat gebruiken.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.chamilo.org/1.11.x-nl/admin-gids/global_features/multi-url/installation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
