Multi domain using Forma lms 2.0

Forum dedicato alle domande sulle funzionalità di amministrazione utenti e corsi, configurazione del sistema, ecc... (backend)
Post Reply
haseeb
Newbie
Posts: 6
Joined: Sun Sep 30, 2018 6:01 pm
Version: forma.lms 2.0

Multi domain using Forma lms 2.0

Post by haseeb » Thu Oct 04, 2018 10:24 pm

I want to create multiple domains on my local machine if its possible otherwise on the server.

My aim is to create multiple domains for my clients and give them url so that they can login and create their users and courses.

How to do it. As I am new in formaLMS 2.0. I need step by step process. please

User avatar
alberto
FormaLms Guru
Posts: 857
Joined: Fri Mar 02, 2012 9:18 am
Contact:

Re: Multi domain using Forma lms 2.0

Post by alberto » Fri Oct 05, 2018 9:53 am

Hi haseeb,

assuming that you already created and set you domains to point to the same account hosting the platform, you can associate different templates to each domain.
Just go to admin > settings > configuration > settings > advanced

Find the tex field labeled "Domain Template assignment", and insert

[yourdomain.com],[templatename]

You can add as many url as you like, one per line
--------------------------------------------------
Become a CONTRIBUTOR

Support the project for FREE!
www.Elearnit.net

haseeb
Newbie
Posts: 6
Joined: Sun Sep 30, 2018 6:01 pm
Version: forma.lms 2.0

Re: Multi domain using Forma lms 2.0

Post by haseeb » Fri Oct 05, 2018 11:04 am

I just installed forma lms on my machine and I haven't done anything else. Now I want to configure multidomain. How to do it I mean the first step In which I can configure multidomain URL. The steps you mentioned I believe it's for template registration with the domain name. But how to configure multidomain and access it? Is it possible to make it work on local machine? like

localhost:8080/formalms -------------- Main domain
localhost:8080/formalms.company1 ------------ sub domain 1
localhost:8080/formalms.company1 ----------- sub domain 2
alberto wrote:
Fri Oct 05, 2018 9:53 am
Hi haseeb,

assuming that you already created and set you domains to point to the same account hosting the platform, you can associate different templates to each domain.
Just go to admin > settings > configuration > settings > advanced

Find the tex field labeled "Domain Template assignment", and insert

[yourdomain.com],[templatename]

You can add as many url as you like, one per line

alfa24
FormaLms Expert
Posts: 167
Joined: Fri Nov 24, 2017 8:45 am
Version: forma.lms 1.4.2

Re: Multi domain using Forma lms 2.0

Post by alfa24 » Fri Oct 05, 2018 2:19 pm

For local installations to work, you should be messing about virtual hosts and hosts file.
I'm Jasmines, the One

Post Reply