# Setup Rancher Server / Rancher LoadBalancer

**URL:** <https://forums.suse.com/t/setup-rancher-server-rancher-loadbalancer/1950>\
**Category:** Rancher 1.x\
**Created:** [March 6, 2016, 5:06pm UTC](https://forums.suse.com/t/setup-rancher-server-rancher-loadbalancer/1950 "2016-03-06T17:06:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tcdev0](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/tcdev0/32/989_2.png) [@tcdev0](https://forums.suse.com/u/tcdev0)\
**Post date:** [March 6, 2016, 5:06pm UTC](https://forums.suse.com/t/setup-rancher-server-rancher-loadbalancer/1950/1 "2016-03-06T17:06:41Z")

</div>

I have set up Rancher Server(:8080) and Rancher Agent on one single Host with no problems. I added a LoadBalancer (through UI) which serves Services via Port 80 and another LB for TLS. After that i wanted to serve the Rancher Server via TLS and started an Nginx container which upstreams Port 443 and 80 to rancher-server:8080.

Now i cant use these ports to for the previous LoadBalancer setup. How can i use port 80 and 443 for the Rancher Server and for my Load Balancer based on requested Hostname. Am I missing something ? quite unexperienced with this stuff.

thanks,  
toni

---

<div class="post-metadata">

**Author:** ![demarant](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/demarant/32/497_2.png) [@demarant](https://forums.suse.com/u/demarant)\
**Post date:** [March 8, 2016, 8:00am UTC](https://forums.suse.com/t/setup-rancher-server-rancher-loadbalancer/1950/2 "2016-03-08T08:00:20Z")

</div>

@tcdev0 it is not recommended to put rancher server and rancher agent on same host.  
have the Rancher server on a distinct host running only the server and all the other hosts have one rancher agent.

---

<div class="post-metadata">

**Author:** ![demarant](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/demarant/32/497_2.png) [@demarant](https://forums.suse.com/u/demarant)\
**Post date:** [March 8, 2016, 8:01am UTC](https://forums.suse.com/t/setup-rancher-server-rancher-loadbalancer/1950/3 "2016-03-08T08:01:02Z")

</div>

after all, Rancher is meant for cluster management not single host management 🙂

---

<div class="post-metadata">

**Author:** ![tcdev0](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/tcdev0/32/989_2.png) [@tcdev0](https://forums.suse.com/u/tcdev0)\
**Post date:** [April 1, 2016, 8:33am UTC](https://forums.suse.com/t/setup-rancher-server-rancher-loadbalancer/1950/4 "2016-04-01T08:33:01Z")

</div>

thanks for your reply. got a few more nodes now, problem solved 😃

---

<div class="post-metadata">

**Author:** ![denise](https://avatars.discourse-cdn.com/v4/letter/d/82dd89/32.png) [@denise](https://forums.suse.com/u/denise)\
**Post date:** [April 1, 2016, 4:43pm UTC](https://forums.suse.com/t/setup-rancher-server-rancher-loadbalancer/1950/5 "2016-04-01T16:43:46Z")

</div>


