# Installation

To configure the multi-URL mode, you will need

* access to your web server's configuration
* access to the definition of your domain names
* access to the Chamilo configuration file

The installation process is as follows

* update *app/conf/configuration.php* by removing the comments marker before the line : *$\_configuration\['multiple\_access\_urls'] = true;* (and make sure it is set to true)
* add ServerAlias directives inside your Apache's VirtualHost (see below)
* define domain or sub-domain names (DNS) so they point to your server
* \[deprecated] add line “1,1” in your *access\_url\_rel\_user* table (this line is not necessary anymore, starting from Chamilo LMS 1.9).
* go to the Chamilo admin page and follow the link *Multiple URL portals*
* redefine your main URL (replace *localhost*) and add the desired sub-portals, then add and enable a local administrator in each of them

![](/files/-LH9DDPHEnv22n5_H8Ad)

*Illustration: Administration - Multi-URLs*

For two different Multi-URLs and one administrative one, based on the domain *campusabc.com*, the VirtualHost would look something like this:

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

Don't forget to always consider that your first portal will be a generic, administration, portal. You should preferably not use it for direct access by students. Declare something like admin.\[domain-name] as the first host, then declare the URLs you will really use.


---

# 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/admin-guide/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.
