For most people the solution is very simple. Use a rewrite rule in your web server config. In nginx:
if ($host !~ "^(example.com|beta.example.com|valid.example)$") {
rewrite ^/(.*)$ http://example.com/$1 permanent;
}
http://www.example.com/aboutor
http://fuckshit.example.com/about
becomes
This is good practice in any case, so that you're always serving up the canonical URL.