I have a url http://a.bc.com which is pointed to the ip address xx.xx.x.xx
which will open up http://www.example.com
Now I want to show some particular page like http://www.example.com/somedirectory/somepage/ if some one hits http://a.bc.com
But I want keep my original URL same followed by directory and page. Ex, http://a.bc.com/somedirectory/somepage/ I tried this .htaccess which is not working for me.
RewriteEngine On
Options +FollowSymLinks
RewriteCond %{HTTP_HOST} ^http://a\.bc\.com
RewriteRule .* http://www.example.com/somedirectory/somepage/ [R=301,L]
Please help me with the .htaccess with masking original base URL