# Sub domain hosting

**URL:** <https://forum.rasa.com/t/sub-domain-hosting/44498>\
**Category:** \[Deprecated\] Rasa X Community Edition\
**Created:** [June 10, 2021, 3:57pm UTC](https://forum.rasa.com/t/sub-domain-hosting/44498 "2021-06-10T15:57:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![osamah1](https://avatars.discourse-cdn.com/v4/letter/o/13edae/32.png) [@osamah1](https://forum.rasa.com/u/osamah1)\
**Post date:** [June 10, 2021, 3:57pm UTC](https://forum.rasa.com/t/sub-domain-hosting/44498/1 "2021-06-10T15:57:59Z")

</div>

Hi

I try to proxy docker compose rasa x on sub domain like [https://test/bot](https://test/bot) instead of default [https://test](https://test) i tried all solution with create volume to nginx and change locations blocks and try with create new nginx container and make it as proxy to rasa x nginx and no thing work

Any one have solution to this issue i think its very important in real cases

Thanks

---

<div class="post-metadata">

**Author:** ![osamah1](https://avatars.discourse-cdn.com/v4/letter/o/13edae/32.png) [@osamah1](https://forum.rasa.com/u/osamah1)\
**Post date:** [June 11, 2021, 1:09pm UTC](https://forum.rasa.com/t/sub-domain-hosting/44498/2 "2021-06-11T13:09:51Z")

</div>

is there any suggestion from rasa team

thanks for help

---

<div class="post-metadata">

**Author:** ![souvikg10](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/souvikg10/32/93_2.png) [@souvikg10](https://forum.rasa.com/u/souvikg10)\
**Post date:** [June 11, 2021, 1:16pm UTC](https://forum.rasa.com/t/sub-domain-hosting/44498/3 "2021-06-11T13:16:07Z")

</div>

can you share your nginx config?

This is an example nginx config that comes with the rasa X stack. You can modify the location of the proxy to point towards a different path.

Also subdomain is usually something else, if the domain is [xyz.com](http://xyz.com), then subdomain is [abc.xyz.com](http://abc.xyz.com) while i understand your question right, you are looking for rasa x to be routed from a different URL path instead,

so [xyz.com/abc](http://xyz.com/abc) should point to rasax.

Take a look at the nginx config

> <https://github.com/souvikg10/rasa-secure-rest/blob/main/rasa/auth/rasax.nginx#L83>

and change the path to the proxy. That should work.

P.S the config above is doing other things than what you are asking but you can modify it to your needs.

Hope this helps
