Where do I put .htaccess ??

Giganews Newsgroups
Subject: Where do I put .htaccess ??
Posted by:  jerryyang_l…@yahoo.com
Date: 2 Apr 2007

I have a main domain who files are in the root of my hosted space:

I have a subdomain who files are located off the root:

I currently have an 'addon domain' who shares the same files as the

I now want to redirect the addon domain to another domain.

So do I place the .htaccess in the root or the sub domain directory ?

I have tried the root and it didn't seem to work !!