I was using Droplr with my domain, 'example.com', prepended with 'u.'. (u.example.com). The prepend was not a subdomain, and would redirect to Droplr via an A record to their server's IP Address.
Edit ---
In other words, I didn't create u.example.com as a subdomain of example.com, but rather created an A record to make it act like a subdomain.
However, I changed the domain being used with Droplr to example.com from u.example.com, and I am trying to setup a redirect with .htaccess to forward any requests to u.example.com/abcd to example.com/abcd.
I currently have the following, but it doesn't seem to have any affect on the domain. Please can you tell me where I am going wrong?
RewriteEngine on
RewriteCond %{HTTP_HOST} ^u.example.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.u.example.com$
RewriteRule ^(.*)$ http://example.com/$1 [R=301,L]
u.example.comis *by definition* a subdomain ofexample.com). I think you may just have your terminology tied up in a marvelous knot (confused between subdomain and virtual host?) -- can you clarify a little bit? – voretaq7 Nov 10 '12 at 19:06