The best method of doing a redirect is to use php (if your web host supports it)
php will send only the http header and will redirect the client without having to load a page like the example above.
This is also the most search engine friendly way to do it and will prevent incurring any google penalties for duplicate content.
simply create a file called "
index.php" and place it in the root of your new domain.
the content of the file should be this :-
PHP Code:
<?
header("HTTP/1.1 301 Moved Permanently");
header("location: http://www.rib.net");
?>
Or this :-
PHP Code:
<?
header("HTTP/1.1 307 Temporary Redirect");
header("location: http://www.rib.net");
?>
Obviously change the location to your web page.
Use the first example for a permanent re-direct - this will have the effect of telling search engines that the page has moved permanently and that they should stop attempting to index this address. The second example will tell the search engine that the page is temporarily located at the alternate address and that they should periodically check back here to see if it has changed. This is useful if you plan to host an alternative site at any time in the future.
If your hosting package does not support php - you cannot use this method.
I would suggest
http://www.supanames.com as the best place to get hosting from - they operate a pretty much self service type arrangement that really keeps costs down and means you can make any changes or upgrades that you need yourself from an online control panel.