I have 2 servers. At my registrar, the DNS of my domain points to Server1. How can I set up my servers, so that Server1 redirects all Web requests for my domain to Server2.
My goal is that I can change Server2 whenever I want without having to change the DNS at my registrar (and have to wait X hours for the changes to spread). I would simply change something in Server1 so that it redirects to Server3 instead of Server2 and as soon as I would do that, it would work for all visitors.
Does it make sense? How would I set this up? I looked at DNS servers and slaves but I am confused.