Activation link of user registering is set with localhost domain

674 views
Skip to first unread message

as...@vlabs.ac.in

unread,
Mar 31, 2016, 2:06:08 AM3/31/16
to Open edX operations
Hello,

I have my dogwood.1 openedx instance running. When I register a user , an activation link is sent to that users' email address.
Link looks like http://localhost/activate/4888c6001745494696ba91bd21881d29. 

Clicking on this link will show a 404 error as expected.
This localhost is to be replaced with domain-name/IP of my edx instance. How to do this ??

Thanks...

Ashay Maheshwari

unread,
Mar 31, 2016, 2:39:20 AM3/31/16
to opene...@googlegroups.com
Bit lazy on my side. I got steps to fix the activation links in openedx.
For this to happen, below files are to changed.

/edx/app/edxapp/lms.env.json
/edx/app/edxapp/cms.env.json

In the files given above, change variable "SITE_NAME" from localhost to IP/Domain.

Restart the services using the commands below -
1. /edx/bin/supervisorctl restart edxapp:
/edx/bin/supervisorctl restart edxapp_worker:
       
Done .....

--
You received this message because you are subscribed to a topic in the Google Groups "Open edX operations" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openedx-ops/K5cGgWGA5v4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to openedx-ops...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openedx-ops/21341937-3b42-4e9e-8c0d-bc21d15f0221%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages