Edx on the same server with different domains for LMS and CMS?
527 views
Skip to first unread message
Zhou Shijun
unread,
Aug 12, 2014, 11:23:59 PM8/12/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to edx-...@googlegroups.com
Hello,
I installed edx on a single server on AWS using the production stack solution provided on Github. Now I have edx.example.com as LMS and edx.example.com:18010 as CMS. I wonder if it is possible to have studio.example.com (port 80) as CMS, while keep edx.example.com no change as LMS? Still use a single server.
Anyway to do that?
Many thanks,
Bob
Marceau C.
unread,
Aug 13, 2014, 8:54:23 AM8/13/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to edx-...@googlegroups.com
Nginx config files are located in /edx/app/nginx/sites-available/[lms|cms]
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to edx-...@googlegroups.com
Thanks Marceau.
In the file I found "CMS configuration file for nginx, templated by ansible", does it mean the settings will be updated when I update to a newer version of Edx? Do you know where is the configuration of the template in ansible that I can keep for my local settings regardless of the update?
--
Live in the future, then build what’s missing.
Marceau C.
unread,
Aug 14, 2014, 5:23:53 AM8/14/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to edx-...@googlegroups.com
You can begin to try if it works by changing the files. I never changed this so I am just trying to help.
Once you found how to do it, you can then update server-vars.yml with the values you need.
It seems that the variables you are looking for are: CMS_HOSTNAME and EDXAPP_CMS_NGINX_PORT and EDXAPP_LMS_NGINX_PORT
There seem to be no "LMS_HOSTNAME" though.
Marceau
Cristóbal Acosta
unread,
Apr 2, 2015, 5:23:54 PM4/2/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to edx-...@googlegroups.com
And do this actually changes the template for cms site-avaibles? because I run an update and nothing happend, the cms file in site-avaibles is still the same. what do i miss???