I am just wondering if the following scenario is possible and how to implement this.
Suppose there are 2 DNS records from one of the Domain Services. Both records point to two different servers HTTP servers. Recently I had to replace those servers very often, every replacement involves changing IP address. Therefore first I had to create new server, change DNS record pointing to the new server, wait for few days when the old servers stopped receiving traffic and then deleted the old server.
I think to create the third server (something similar to haproxy by functionality) and point all DNS record to this new server and maybe distinct the traffic by ports. This third server based on port will decide where to send the traffic to. So the next time when I will have to change server I will change it only on my third server and delete the old one. That's all.
I assume haproxy is not the right tool use for this. I mentioned it because I am familiar with it and use it in inner network.
The question is what I need to use for the third server in order to navigate the traffic.