Article 541BA Reverse proxy (sub)domains to a different local server wihtout interrupting https

Reverse proxy (sub)domains to a different local server wihtout interrupting https

by
dr-ing
from LinuxQuestions.org on (#541BA)
Hey,

I will try my best to describe my case:
I have 2 almost similar local servers (e.g. 10.0.0.1 and 10.0.0.2, both behind a pfsense firewall) and currently all web traffic (http and https) is directed to the 10.0.0.1 server running Apache2 with multiple vhosts.

These vhosts can be accessed either through a subdomain (e.g. alpha.myserver.net) or through a domain (e.g. beta.net), depending on the customer.

Now I want to move some vhosts (i.e. a few domains and subdomains) to the second server while the domains are still accessible with the same public IP, so I probably need a reverse proxy.

My question now is, is it possible to set up a reverse proxy that acts like a switch and checks the domain name and then decides if it belongs to the 10.0.0.1 or the 10.0.0.2 server without interrupting https?latest?d=yIl2AUoC8zA latest?i=uihZ_2AYwtE:xRPm59emrAA:F7zBnMy latest?i=uihZ_2AYwtE:xRPm59emrAA:V_sGLiP latest?d=qj6IDK7rITs latest?i=uihZ_2AYwtE:xRPm59emrAA:gIN9vFwuihZ_2AYwtE
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments