Today i had a lot of fun (!!!!)
I worked with Nginx to establish a fill working redirect and proxy server. There are customers which like the idea of having multiple domains pointing to the same webserver. There are several ways to do this. Mostly used is apache with reddirets or proxy settings. The real way to do it in my eyes is nginx.
So what do you need, lets take a look at basic 301 redirects
server { server_name test.xadmin.info; reweite ^ http://example.com; }
adding this to your default.conf of nginx sets redirecting from test.xadmin.info to example.com. quite easy(!).