# RocketChat with Suffix in ROOT\_URL working except for /api/ecdh\_proxy/initEncryptedSession

**URL:** <https://forums.rocket.chat/t/rocketchat-with-suffix-in-root-url-working-except-for-api-ecdh-proxy-initencryptedsession/11519>\
**Category:** Community Support\
**Created:** [June 30, 2021, 5:59am UTC](https://forums.rocket.chat/t/rocketchat-with-suffix-in-root-url-working-except-for-api-ecdh-proxy-initencryptedsession/11519 "2021-06-30T05:59:36Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![john.crisp](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/john.crisp/32/2711_2.png) [@john.crisp](https://forums.rocket.chat/u/john.crisp)\
**Post date:** [July 7, 2021, 9:13am UTC](https://forums.rocket.chat/t/rocketchat-with-suffix-in-root-url-working-except-for-api-ecdh-proxy-initencryptedsession/11519/8 "2021-07-07T09:13:31Z")

</div>

Ahhh - I just twigged this was yours:

> [@RocketChat blank screen with "Error" on ROOT\_URL in k8s](https://forums.rocket.chat/t/rocketchat-blank-screen-with-error-on-root-url-in-k8s/11470):
>
> Description Server Setup Information Version of Rocket.Chat Server: 3.15.1 Operating System: Docker installation Deployment Method: k8s Number of Running Instances: 1 DB Replicaset Oplog: BYPASS\_OPLOG\_VALIDATION set to true NodeJS Version: MongoDB Version: Proxy: Firewalls involved: Any additional Information The above is what we see after navigating to the ROOT\_URL. There is no error in the console however there is an err header that is returned but …

I think you might want to set your root URL to your domain and make sure it resolves correctly. It could be a local private domain, or a public one, but it must resolve correctly.

> **[Additional Configurations](https://docs.rocket.chat/docs/additional-configurations)**

> **Note:** You must use the outside https address for the value at `ROOT_URL` in [[Section 3|Deploy-Rocket.Chat-without-docker#3-download-rocketchat]] above. This includes the `https://` and leave off the port number. So instead of `ROOT_URL=http://localhost:3000` use something like `https://your_hostname.com`

And how to modify that:

> [@How to change ROOT\_URL in docker-compose with everything up](https://forums.rocket.chat/t/how-to-change-root-url-in-docker-compose-with-everything-up/11573):
>
> Hello, im here to ask about a little thing that i didnt find how to solve it, i have my rocket chat running after a docker-compose, for an accident i started it as localhost:3000 and now im getting some problems because of that, so i have to change it to my domain adress instead of “localhost”. rocketchat: image: registry.rocket.chat/rocketchat/rocket.chat:3.13.5 command: \> bash -c “for i in seq 1 30; do node main.js && s=$$? && break || s=$$?; echo “Tried $$i times. Waiting 5 secs…”; …

---

_[View the full topic](https://forums.rocket.chat/t/rocketchat-with-suffix-in-root-url-working-except-for-api-ecdh-proxy-initencryptedsession/11519)._
