Forum Moderators: phranque
The .htaccess file is normally located in the root www directory on your server (the same directory that you would find your home page). There is no requirement that there would be an .htaccess file, so it's likely that there wasn't one when you got your domain.
Here is an example of an .htaccess file that redirects traffic from the non www version to the www version of your site:
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^example.com [NC]
RewriteRule ^(.*)$ http://www.example.com/$1 [L,R=301]
Make sure that when you upload your .htaccess file to your server that you do it in ASCII mode rather than binary mode, or it won't work. Also, the file must be named .htaccess, which can be difficult to create in the typical Windows desktop, which wants a filename before the period. One solution is to create htaccess.txt in Windows, FTP the file to your server, and rename it on the server once you get there.
There's a ton more information on .htaccess files in the Apache forum [webmasterworld.com]. You might want to browse through there is you continue to have problems.
edit: I just tried it out and it works, thanks for the help! I am still curious if I will get the search engine penalty though? Thanks again.