Partner links

Virtual Host Routing for Docker using Rancher Load Balancer

Rancher Virtual Host Routing

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:

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, it will be directed to the LetsChat servers; if the request is for – 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.



Partner links

Newsletter: Subscribe for updates

Notify of
Inline Feedbacks
View all comments

Get the latest

On social media

Security distros

Linux distros for hacking and pentesting

Crypto mining OS

Distros for mining bitcoin and other cryptocurrencies

Crypto hardware

MSI GeForce GTX 1070
Installing Nvidia GTX 1070 GPU drivers on Ubuntu

Disk guide

Beginner's guide to disks & disk partitions in Linux

Bash guide

Bash shell terminal
How to set the PATH variable in Bash
Hya, what do you think? Please comment.x