# Setting up STUDIO

**URL:** <https://discuss.openedx.org/t/setting-up-studio/4007>\
**Category:** Site Operations Help\
**Created:** [January 12, 2021, 12:57pm UTC](https://discuss.openedx.org/t/setting-up-studio/4007 "2021-01-12T12:57:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chrisbst43](https://avatars.discourse-cdn.com/v4/letter/c/919ad9/32.png) [@chrisbst43](https://discuss.openedx.org/u/chrisbst43)\
**Post date:** [January 12, 2021, 12:57pm UTC](https://discuss.openedx.org/t/setting-up-studio/4007/1 "2021-01-12T12:57:10Z")

</div>

Hello,

I am having issues configuring the CMS part of EDX. I understand that LMS host and Studio host must either be the same hostname (on different ports), or Studio must be a subdomain of the LMS.

I am using JUNIPER 3. I choosed the second option because I thought it would be easier to use a sub domain as the nginx configuration looks already set up for this and I don’t want to dive into it at the moment.

Therefore, my config.yml may look like this :  
EDXAPP\_LMS\_BASE: “edx-MYDOMAIN.local”  
EDXAPP\_CMS\_BASE: “studio.edx-MYDOMAIN.local”

I have installed it on a local test platform so basically to resolve my domains, it relies on my hosts file.

However, the resolution doesn’t seem to work.  
If I specify the 18010 port in the address bar, it can land on STUDIO /CMS part. But it is not working well. It loops on the studio signin page.

Another go was to comment out the port section in /edx/app/nginx/sites-available/cms, but I got the same result as above.

Can somebody help please ?

---

<div class="post-metadata">

**Author:** ![arbrandes](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.openedx.org/arbrandes/32/158_2.png) [@arbrandes](https://discuss.openedx.org/u/arbrandes)\
**Post date:** [January 12, 2021, 5:55pm UTC](https://discuss.openedx.org/t/setting-up-studio/4007/2 "2021-01-12T17:55:46Z")

</div>

Hi christophe,

> [@chrisbst43](#):
>
> I have installed it on a local test platform

Is this a devstack-type installation, or native? To achieve what you want in terms of name resolution, you should definitely go the native route.

Also, what release are you trying? [These](https://openedx.atlassian.net/wiki/spaces/OpenOPS/pages/1969455764/Koa+Native+Open+edX+platform+Ubuntu+20.04+64+bit+Installation) are the updated instructions for the latest one, Koa.

Finally, if the machine where you installed Open edX can’t itself resolve those names, you may run into the login loop you’re seeing. Did you try adding the domains to the `/etc/hosts` file of the Open edX machine?
