I've got a DNS server running at "dns.u4ik.us" I have full control of the Apache server www.u4ik.us (same server as dns.uik.us) and the dns records themselves. I wanted to supply a service where people would type 22.214.171.124 into their example.com A record, and when someone accessed the site, would redirect to www.example.com (set to their actual IP). Essentially the same thing as WWWizer.com. Would I configure this in Apache or my DNS?
This should be configured in Apache, set up a virtual host to listen on that IP (with no other VHosts listening) then use a rewrite rule to redirect.
Something along the lines of
(Note: Code not tested, guessing from memory but it should be something along those lines)