I recently switched sites from janeullah.com (which had an A dns entry pointing to janeullah.zenfolio.com) to janeullahphotography.com. I'm on Dreamhost, currently have A record on janeullah.com going to blog.janeullah.com and using Google Apps for Email.
I'm trying to set up a rewrite rule which (for now) redirects anyone who clicks on janeullah.com/xxxx/xxx or janeullah.com/z/s/z to: janeullahphotography.com/xxx/xxx or janeullah.com/z/s/z
These are the .htaccess contents I've tried that didn't redirect
Options +FollowSymLinks
RewriteEngine on
RewriteRule (.*) http://janeullahphotography.com/$1 [R=301,L]
and
RewriteEngine on
RewriteCond %{HTTP_HOST} !^janeullah.com$ [NC]
RewriteRule ^(.*)$ http://janeullahphotography.com/$1 [R=301,L]
Typing in janeullah.com/weddings doesn't redirect to janeullahphotography.com/weddings and even when I entered garbage into the .htaccess file, nothing happened and makes me suspect the .htaccess file is being ignored.
Specific pointers about what I'm doing wrong will be greatly appreciated.