Hi,
until you have pre-Eucalyptus version of OpenEdx, you have to configure
sites using this documentation:
https://edx.readthedocs.io/projects/edx-installing-configuring-and-running/en/latest/configuration/sites/
"USE_MICROSITES" method is deprecated.
> Hi Dhastha
> Did you resolve your problem?
> I have the same problem
>
> El miércoles, 15 de noviembre de 2017, 1:51:35 (UTC-6), Dhastha Gheer
> escribió:
>>
>> Hi,
>>
>> I have my lms site on "learn.example.com". I need to configure
>> microsites for two subdomains that includes org1-learn.example.com,
>> org2-learn.example.com.
>>
>> My lms.env.json is
>>
>> Added "USE_MICROSITES": true in FEATURES
>>
>> "MICROSITE_ROOT_DIR": "/edx/app/edxapp/edx-microsite",
>> "MICROSITE_CONFIGURATION": {
>> "org1": {
>> "domain_prefix": "org1-learn",
>> "university": "org1",
>> "course_org_filter": "Org1",
>> "platform_name": "Org1 Professional Education Online X
>> Programs",
>> "SITE_NAME": "org1-learn.example.com"
>> },
>> "org2": {
>> "domain_prefix": "org2-learn",
>> "university": "org2",
>> "course_org_filter": "Org2",
>> "platform_name": "Org2 Professional Education Online X
>> Programs",
>> "SITE_NAME": "org2-learn.example.com"
>> }
>> },
>>
>> After compiling assets, I restarted the edxapp. But microsite
>> configuration is not working when I access or1-learn.example.com it
>> shows as it was learn.example.com site.
>>
>> All sites org1-learn.example.com, org2-learn.example.com and
>> learn.example.com DNS are mapped to same server.
>>
>> Am I missing something or Do I need to do any nginx configuration?
>>
>>
>>
>> --
>>
>>
>>
>>
>> Cheers,
>>
>> Dhasthagheer
>>
>>
--
You received this message because you are subscribed to the Google Groups
"General Open edX discussion" group.
To view this discussion on the web visit
https://groups.google.com/d/msgid/edx-code/bb605e48-5013-457d-a472-811b146de02b%40googlegroups.com.