# Learner account activation

**URL:** <https://discuss.openedx.org/t/learner-account-activation/579>\
**Category:** Site Operations Help\
**Created:** [September 27, 2019, 10:54am UTC](https://discuss.openedx.org/t/learner-account-activation/579 "2019-09-27T10:54:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Terry](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/terry/32/340_2.png) [@Terry](https://discuss.openedx.org/u/Terry)\
**Post date:** [September 27, 2019, 10:54am UTC](https://discuss.openedx.org/t/learner-account-activation/579/1 "2019-09-27T10:54:20Z")

</div>

Hi guys,

i have successfully deployed my Open edX instance, but when students try to register they are getting an activation link like this:

[http://localhost/activate/27f32ecb36d14038b46ae9bc7abb1472](http://localhost/activate/27f32ecb36d14038b46ae9bc7abb1472)

how do i configure it to use my host ip address instead of using 127.0.0.1[localhost]

thanks in advance

---

<div class="post-metadata">

**Author:** ![mahyard](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/mahyard/32/54_2.png) [@mahyard](https://discuss.openedx.org/u/mahyard)\
**Post date:** [September 27, 2019, 11:53am UTC](https://discuss.openedx.org/t/learner-account-activation/579/2 "2019-09-27T11:53:46Z")

</div>

Hi,  
I think setting proper values for LMS\_BASE and SITE\_NAME in ~edxapp/lms.env.json and ~edxapp/cms.env.json is the solution.  
They must point to your lms server. ( eg. `online.myeducation.org` )

---

<div class="post-metadata">

**Author:** ![Terry](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/terry/32/340_2.png) [@Terry](https://discuss.openedx.org/u/Terry)\
**Post date:** [September 27, 2019, 11:59am UTC](https://discuss.openedx.org/t/learner-account-activation/579/3 "2019-09-27T11:59:19Z")

</div>

they are all pointed to my server.

---

<div class="post-metadata">

**Author:** ![sbernesto](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/sbernesto/32/90_2.png) [@sbernesto](https://discuss.openedx.org/u/sbernesto)\
**Post date:** [September 27, 2019, 5:22pm UTC](https://discuss.openedx.org/t/learner-account-activation/579/4 "2019-09-27T17:22:29Z")

</div>

You also need to edit the variable SITE\_NAME
