# Deploying multiple apps behind reverse proxy

**URL:** <https://forums.suse.com/t/deploying-multiple-apps-behind-reverse-proxy/14146>\
**Category:** SUSE Rancher Prime\
**Created:** [May 2, 2019, 6:13pm UTC](https://forums.suse.com/t/deploying-multiple-apps-behind-reverse-proxy/14146 "2019-05-02T18:13:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Austin-Earl](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/austin-earl/32/4916_2.png) [@Austin-Earl](https://forums.suse.com/u/Austin-Earl)\
**Post date:** [May 2, 2019, 6:13pm UTC](https://forums.suse.com/t/deploying-multiple-apps-behind-reverse-proxy/14146/1 "2019-05-02T18:13:16Z")

</div>

Okay So Im running our rancher server behind a reverse proxy. we are using sub domains to point to internal ips Ex: [my-app.example.com](http://my-app.example.com) -\> 186.xx.x.xxx, [other-app.my-app.example.com](http://other-app.my-app.example.com) -\> 186.xx.x.xyz

Here is the problem… When I put up an app, I have to set the host name blank so that the ingress can pass i through to my app. But when I have two apps (my-app, other-app) the ingress pass all data to the latest one that I have connected to. To note my-app and other-app are separated. they are on two different machines o the same network. How Do I have the ingress when it sees that the request want to go to ip xxx that it uses my-app and when it gets xyz it goes to other-app?

I have tried to say in the hosts field (my-app.example . com ) but all I get is a 404 default backend error. I cant use Ip cause rancher doesn’t accept ips, it wants Domains. So im stuck on how to fix this.
