As mentioned in the article How to Work with Branches, you can divide your e-learning offering into different logical units.
Note: For more on mapping domains to your eFront portal, follow this link.
You can define a different URL for each branch and allow users access their corresponding branch directly.
In order to set up a branch URL, the following steps are needed.
Ensure firstly that in System settings page → Identity tab the value in Main URL is correct. It must be the same with your main URL of installation.
Then in edit page of a branch specify your preferred domain URL for the branch. By default, this value is filled in based on branch name
You have also to define in your DNS server that all sub-domain URLs are served your server. Use *.main.example.com where main.example.com is your main URL.
Lastly, in httpd.conf file (or httpd-vhosts.conf depending on your settings) and also a ServerAlias like this ServerAlias *.main.example.com