# Deploying a remote staging environment

**URL:** <https://community.forestadmin.com/t/deploying-a-remote-staging-environment/2126>\
**Category:** Help me!\
**Tags:** setup\
**Created:** [March 18, 2021, 3:25pm UTC](https://community.forestadmin.com/t/deploying-a-remote-staging-environment/2126 "2021-03-18T15:25:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![caid](https://avatars.discourse-cdn.com/v4/letter/c/7bcc69/32.png) [@caid](https://community.forestadmin.com/u/caid)\
**Post date:** [March 18, 2021, 3:25pm UTC](https://community.forestadmin.com/t/deploying-a-remote-staging-environment/2126/1 "2021-03-18T15:25:58Z")

</div>

Hey everyone,

I’ve deployed Forest on my staging remote server, but it’s saying that I’m running Forest on my local environment, and there’s this request and error :

```javascript
https://xxx/forest/coverLists?fields%xxx%5D=createdAt%xxx%xxx%xxx%5D=id&page%5Bnumber%5D=1&page%5Bsize%5D=15&searchExtended=0&sort=-id&timezone=Europe%2FParis

{errors: [{status: 403, detail: "Forbidden", name: "ForbiddenError"}]}
errors: [{status: 403, detail: "Forbidden", name: "ForbiddenError"}]

```

“forest-express-sequelize”: “^7.0.0”,

Thanks a lot !

---

<div class="post-metadata">

**Author:** ![anon79585656](https://avatars.discourse-cdn.com/v4/letter/a/7ab992/32.png) [@anon79585656](https://community.forestadmin.com/u/anon79585656)\
**Post date:** [March 18, 2021, 3:34pm UTC](https://community.forestadmin.com/t/deploying-a-remote-staging-environment/2126/2 "2021-03-18T15:34:41Z")

</div>

Hello @caid,

Following up from [this issue](https://community.forestadmin.com/t/deployment-on-remote-server/2117)`.

Just to be sure, we are talking about the “Dev” environment, located on your “dev-forest” subdomain right?

From what I see, your role definition says that no collection permission is set to “true” or “allow”.

Can you please check if this is the case in your project settings?

Thank you

---

<div class="post-metadata">

**Author:** ![caid](https://avatars.discourse-cdn.com/v4/letter/c/7bcc69/32.png) [@caid](https://community.forestadmin.com/u/caid)\
**Post date:** [March 19, 2021, 11:10am UTC](https://community.forestadmin.com/t/deploying-a-remote-staging-environment/2126/4 "2021-03-19T11:10:27Z")

</div>

Hey @anon79585656 !

Yes it’s the one that has a problem 😕  
I just added the CRUD rights to the dev team in the project settings (weird that I have to do it manually, didn’t have to do that for preprod and prod) and now it’s workingggg 🥳 🎉 🎊  
Thanks a lot @anon79585656 !!!  
There is a small problem now, I have 2 dev that is targeting the same url :

 ![screen](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/c/c6a08f5848409ce32f6c5697614e60b2f3c0d006.png)

best,

---

<div class="post-metadata">

**Author:** ![caid](https://avatars.discourse-cdn.com/v4/letter/c/7bcc69/32.png) [@caid](https://community.forestadmin.com/u/caid)\
**Post date:** [March 23, 2021, 4:09pm UTC](https://community.forestadmin.com/t/deploying-a-remote-staging-environment/2126/5 "2021-03-23T16:09:43Z")

</div>

Hey everyone,

We just found out with @anon60307974 that by changing the name of the environment “Dev” → to “Staging” that removed the duplicated environment :  
 ![Capture d’écran 2021-03-23 à 17.08.14](https://europe1.discourse-cdn.com/flex013/uploads/forest/original/2X/3/3a4818ace66e55d9a68147ff8356ede267c1798b.png)

Thanks to you guys!!!
