# V1.2 Loadbalancer virtual hosts

**URL:** <https://forums.suse.com/t/v1-2-loadbalancer-virtual-hosts/4948>\
**Category:** Rancher 1.x\
**Created:** [December 18, 2016, 9:33am UTC](https://forums.suse.com/t/v1-2-loadbalancer-virtual-hosts/4948 "2016-12-18T09:33:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jans](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@Jans](https://forums.suse.com/u/Jans)\
**Post date:** [December 18, 2016, 9:33am UTC](https://forums.suse.com/t/v1-2-loadbalancer-virtual-hosts/4948/1 "2016-12-18T09:33:37Z")

</div>

I’m trying to do some load balancing with virtuals hosts in rancher 1.2 i found [this](http://rancher.com/virtual-host-routing-using-rancher-load-balancer/) tutorial but its for an older version. In this version you add source ports and than add targets. in the new version i cannot add a port rule for two apps to one loadbalancer because the source ports are the same

Image below doesnt work because “Port 443 has multiple rules with conflicting access/protcols”

 ![](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/7/76a16ec69b3a84cd464a2ec141ac3bae6ccabb13.png)

When i add a loadbalancer service for each stack. one domain works but the other is giving a 503 error and presents the certificate of the first loadbalancer.

---

<div class="post-metadata">

**Author:** ![vincent](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/vincent/32/7156_2.png) [@vincent](https://forums.suse.com/u/vincent)\
**Post date:** [December 18, 2016, 4:08pm UTC](https://forums.suse.com/t/v1-2-loadbalancer-virtual-hosts/4948/2 "2016-12-18T16:08:14Z")

</div>

The unfortunately cut off protocols in your picture probably don’t match, make sure both are https. (What browser/os is this? I’ll make them wider)

---

<div class="post-metadata">

**Author:** ![Jans](https://avatars.discourse-cdn.com/v4/letter/j/e9a140/32.png) [@Jans](https://forums.suse.com/u/Jans)\
**Post date:** [December 18, 2016, 5:43pm UTC](https://forums.suse.com/t/v1-2-loadbalancer-virtual-hosts/4948/3 "2016-12-18T17:43:56Z")

</div>

ugh, That was the issue, thought i had them both on https. thanks for the help.

And it was chrome on windows 10
