[Solved]Reverse conditional on host?


#1

Hello guys, I am looking for a way to make reverse proxy work in this way:
If user visits domainA.com reverse proxy domainB.com
If user visits domainA2.com reverse proxy domainB2.com

What would be the best way to achieve this?

Thanks


#2

I would appreciate if You guys could help me out :slight_smile:


#3

Once again nobody would bother helping out, I’ve figured it out myself, it’s strange how a complicated questions always get many responses on this forum, while simple ones are ignored.


#4

can you post how you did it? maybe someone else will have this question in the future