I have a parked domain example.co.uk
on another domain name web-space in a folder and need to rewrite the domain name in the browser URL as it currently shows the other domain name while browsing and I need it to read example.co.uk.
When parking the domain the ISP automatically added this which works although displays another domain name.
RewriteCond %{HTTP_HOST} ^example\.co\.uk$ [OR]
RewriteCond %{HTTP_HOST} ^www\.example\.co\.uk$
RewriteRule ^/?$ "http\:\/\/www\.otherdomain\.eu\/myfolder" [R=301,L]