Need help on Micosite configuration

81 views
Skip to first unread message

Dhastha

unread,
Nov 15, 2017, 2:51:35 AM11/15/17
to edx-...@googlegroups.com
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

Angel Ucan

unread,
Sep 20, 2018, 4:23:16 PM9/20/18
to General Open edX discussion
Hi Dhastha
Did you resolve your problem?
I have the same problem

Jaroslavas Karmazinas

unread,
Sep 21, 2018, 3:53:33 AM9/21/18
to edx-...@googlegroups.com
the link doesn't work

чт, 20 сент. 2018 г. в 21:23, Angel Ucan <angelu...@gmail.com>:
--
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/04d2e19b-260b-40a9-9974-2257866d8164%40googlegroups.com.

andrey....@raccoongang.com

unread,
Sep 25, 2018, 3:19:22 AM9/25/18
to General Open edX discussion
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.
Reply all
Reply to author
Forward
0 new messages