You can do this in DNS. Set up a Forward Lookup Zone for the domain, IE. facebook.com.
Create an Alias (CNAME) in the zone that points to the destination server you want to redirect them to.
Creat a Host (A) record that point them to the destination server's IP address and use * for the Name.
This will redirect all *.facebook.com and the www.facebook.com
queries. It doesn't redirect something like facebook.com/whatever so the user will get a "cannot display a webpage" error for those addresses.