localhost.microsoft.com and localhost.yahoo.com also used to redirect to 127.0.0.1. And, of course, this wreaked utter havoc with cookies (since cookies are accessible across the entire domain). Zalewski discusses in TTW (The Tangled Web).
DNS hackery is really dangerous.
I gather that Xip.io have the same issue with cookies.
Yes, but xip.io doesn't host any production services with which test cookies might interact.
I like http://localtest.me because it's the only one I've seen with a valid wild card SSL...makes testing and switching between HTTP and HTTPS easy.