I need to forward any http request from my old server IP to my new IP.
I migrated servers and there are a few domains that have a high TTL and I could not update. Is it possible to take all HTTP requests from one server running centos/whm/php/apache 2+ and forward them to the new ip?
Since I have hundreds of domains I'd prefer a solution that involves running an app on the linux box that will push requests automatically to the new box.
I've tried using IP tables and forwarding all incoming connections using the preroute chain, but it seems like this only works for forwarding to internal IP addresses, and the new IP is external.