Docker & Container Runtimes

Virtual Host Routing for Docker using Rancher Load Balancer

Virtual Host Routing is a new feature in Rancher, a platform built around the Docker container runtime. It made its debut in Rancher 0.29.

Though new in Rancher, Virtual Host Routing is not a new concept. It’s widely used on similar platforms.

In the following linked-to article, from Rancher’s official blog, you’ll read how to set up and configure this new feature on the Rancher platform.

Rancher Virtual Host Routing

Here’s an excerpt from the article:

The typical use case for host-based load balancing is using a single IP address to distribute traffic to multiple services. For my example today, I’ll show how a company can host two different applications – a website and chat – on a single public IP address. In this case, a user would configure Public DNS with two records pointing to the same IP address:

chat.example.com: 108.162.202.109

web.example.com: 108.162.202.109

We’ll then be using two separate applications to deliver these functions: nginx for the website and the wonderful LetsChat for the chat platform. With host load balancing, the traffic can be split between these two services based on the request coming in. If the request is coming for chat.example.com, it will be directed to the LetsChat servers; if the request is for web.example.com – it will be directed to the Nginx nodes.

Here is how the end setup should look in Rancher:

You may read the complete article at Virtual Host Routing for Docker using Rancher Load Balancer.

Related Post:  How to provision Dockerized hosts with Docker Machine from Linux Mint 18, 18.1

Subscribe to LinuxBSDos.com

Subscribe to receive the latest articles in your Inbox

Trust me, you'll not be spammed...

Please share:

We Recommend These Vendors and Free Offers

Register now for Blockchain & Cryptocurrency Con 2018, international conference on blockchain technnology in Dallas, TX (USA), Feb. 23-24, 2018. A 50% discount for students.

Best WhatsApp Plus features in Gbwhatsapp latest APK download

Best binary auto trading software reviews by 7binaryoptions.com

Google has got competition, because Presearch is building a blockchain-based search engine controlled by the community. At $0.15 a token, you can participation in Lot 3 of the token sale by clicking here

Open Money is building a solution that will run mainstream software on blockchain tech. Click here to get free tokens that will be the digital currency of the platform

Launch an SSD VPS in Europe, USA, Asia & Australia on Vultr's KVM-based Cloud platform starting at $5:00/month (15 GB SSD, 768 MB of RAM).


Leave a Comment

Your email address will not be published. Required fields are marked *

*