From a technical and SEO standpoint:
Sometimes you might want to duplicate the content on all domains, pointing them to the same documentroot.
If you want to user to think he is on the website name he is on, use php to detect the domain and change the branding accordingly, but if it's googlebot, redirect it to the 'main' website (as google sees it).
If you want the viewer simply redirected to another website (which is typically best for SEO, along with the last solution), you can use an .htaccess script to do that.
Redirect 301 / http://www.example.com/
A 301 redirect is the best redirect for this situation, when the site is 'moved permanently', while a 302 is temporary, which isn't as good to use for seo.
If you can't get apache to redirect, a 1-liner php script can do the same:
<?php header('Location: http://example.com/'); ?>
Saving that as index.php will redirect the domain to another.
You also can redirect child pages (like
http://shop.com/products to
http://shopnow.com/products) using apache or php with slightly more code to find add the rest of the url to the redirected page.