# Changing the IP address of a running Open edX instance

**URL:** <https://discuss.openedx.org/t/changing-the-ip-address-of-a-running-open-edx-instance/657>\
**Category:** Site Operations Help\
**Created:** [October 10, 2019, 9:22am UTC](https://discuss.openedx.org/t/changing-the-ip-address-of-a-running-open-edx-instance/657 "2019-10-10T09:22:46Z")\
**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:** [October 10, 2019, 9:22am UTC](https://discuss.openedx.org/t/changing-the-ip-address-of-a-running-open-edx-instance/657/1 "2019-10-10T09:22:47Z")

</div>

Hi guys,

Is it possible to change the IP address of a running open edX instance, will it not break?? I have just realized that the IP address which i used in my config.yml is private, so want to change it to a public IP address.

---

<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:** [October 13, 2019, 10:31am UTC](https://discuss.openedx.org/t/changing-the-ip-address-of-a-running-open-edx-instance/657/2 "2019-10-13T10:31:43Z")

</div>

we usually don’t set an IP address inside config.yml. can you explain for which configuration did you set an IP address. however I suggest you to reinstall the platform if you can.

---

<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:** [October 14, 2019, 6:42am UTC](https://discuss.openedx.org/t/changing-the-ip-address-of-a-running-open-edx-instance/657/3 "2019-10-14T06:42:18Z")

</div>

@mahyard installation instructions step #2 ,the host names of LMS and Studio`

EDXAPP\_LMS\_BASE:¨¨  
EDXAPP\_LMS\_BASE:¨¨

I used a private IP address as my host names ,now i want to change it to a public one,so is there way to do it besides reinstalling the platform?

---

<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:** [October 14, 2019, 8:37am UTC](https://discuss.openedx.org/t/changing-the-ip-address-of-a-running-open-edx-instance/657/4 "2019-10-14T08:37:50Z")

</div>

I don’t know any easy way to do so. If you cannot reinstall the platform then try to find and replace all occurrences of your old value (IP addr) to the new value (fqdn) in both ~edxapp/lms.env.json and ~edxapp/cms.env.json and then restart lms and cms. I’m not sure but it may be the solution.
