Im trying to setup a reverse proxy so that i can have multiple web servers on my network.
I currently have 2 servers:
10.0.0.45 - New Server Webserver/Squid Proxy
10.0.0.40 - Old Server Webserver
i was able to make it so that all traffic on port 1234 on the new server (10.0.0.45) was sent to 80 on the old server (10.0.0.40). but im now having issues when trying to forward domains.
I want to forward like this:
*.arcath.net -> 10.0.0.40
londinium.arcath.net -> 10.0.0.45
support.ed-itsolutions.com -> 10.0.0.40
Im not too bothered if i have to manually add all the subdomains instead of *.
Can anyone give me a config example to do this?