Web server
(web.example.com): /etc/nginx/sites-available/redirectserver {
listen 80;
server_name records.example.com summer.example.com helpdesk.example.com;
if ($host = 'records.example.com'){
return 301 http://docs.google.com/;
}
if ($host = 'summer.example.com'){
return 301 http://domainsomewhere.net;
}
if ($host = 'helpdesk.example.com'){
return 301 http://youtube.com/sdfasa;
}
}
ln -s /etc/nginx/sites-available/redirect /etc/nginx/sites-enabled/redirect
nginx -t
service nginx restart
DNS
DNS entry point to webserver (ie. records alias to web.example.com)