Redirecting from any hostname to any other hostname

Why would I do this?

You moved to a new domain.

You purchased a typo domain.

How do I set this up?

Add a CNAME record for the hostname pointing to lookup.redirect2.me.

Add a TXT record for the hostname with the value redirect2me=www.my-new-domain.com

You generally want to do this for all hostnames in the domain, usually at least @ and www.

You can control the schema and page of the redirect by tweaking the TXT record: if it has a schema, it will use it. If it has a path, it will use that instead of the original path. For example:

TXT Record Example redirect for http://old.example.com/blah/page.html
redirect2me=new.example.com http://new.example.com/blah/page.html
redirect2me=https://new.example.com https://new.example.com/blah/page.html
redirect2me=new.example.com/welcome-old-users.html http://new.example.com/welcome-old-users.html
redirect2me=new.example.com https://new.example.com/welcome-old-users.html