Apache to talk on multiple IP Addresses
I am hosting multiple sites on my server, and I was able to setup a IP-based virtual host successfully. However I want each site to talk from the same ip address that the request is coming in from, and not the server ip.
So if a request comes in to site a, on ip xxx.xxx.0.2 and the servers ip is xxx.xxx.0.1, i want site a to reply from the xxx.xxx.0.2 ip and not xxx.xxx.0.1 as it currently is doing.
Currently I have 5 different IP addresses and domain names set up on one NIC. So when I do /sbin/ip addr I see 5 different addresses on eth0.