there are several ways to do that.
solution 1: php
make a index.php and put it in the root directory of your old server.
Put the following code inside the index.php
<?php
header('Location: [url]http://www.username.com/'[/url]);
exit;
?>
solution 2: javascript
make a index.htm or index.html and put it in the root directory of your old server
Put the following code inside the index.htm or index.html
<head>
<script language="JavaScript">
<!--
window.location="http://www.username.com/";
//-->
</script>
</head>
solution 3: .htaccess
make a .htaccess file and put it in the root directory of your old server
Put the following code inside the .htaccess file.
Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) [url]http://www.username.com/[/url]$1 [R=301,L]
Note* This .htaccess method of redirection works ONLY on Linux servers having the Apache Mod-Rewrite moduled enabled
I would prefer you to use solution 3. Because it is serverside redirect and .htaccess will be execute before all other files in apache
for mickey: Are you trying to get up your post count
??? Hi btw.
edit: I came across this side
http://www.webconfs.com/how-to-redirect-a-webpage.php take a look for reference.