Did you mean forwading http://example.com to http://www.example.com? Create a .htaccess file, and fill it with this content : <IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{HTTP_HOST} ^hello\.com$ [NC] RewriteRule ^(.*)$ http://www.hello.com/$1 [L,R=301] </IfModule> Code (markup):
this will work with some servers only which support mod rewrite engine so if it doesn't work with you ask your hosting provider to install mod rewrite