In this article we will learn to redirect HTTP traffic from old server to new server. If you want redirect all traffic from the old server's HTTP port to new server with a different IP.
First of all we can assume you have a server with interface name as "host1", and destination IP on which you want to redirect it is "126.96.36.199".
Old server interface name : host1
Destination IP : 188.8.131.52
Service : Apache(port 80 and 443)
Now, you can do redirection by running the below given commands :