title: Mask subdomain using htaccess
body: <p>I am using the following code within <code>.htaccess</code> file of my domain directory to mask my subdomain as <code>amazon.com</code> webpage. Its showing <code>amazon.com</code> however URL also gets changed <code>amazon.com</code>. I did some research online and seems like I am using the correct code. What I am missing?</p>
  <pre><code>RewriteEngine On
  RewriteCond %{HTTP_HOST} ^subdomain.domain.in$ [NC]
  RewriteRule ^(.*)$ http://www.amazon.com%{REQUEST_URI} [R=301,NC,L,QSA]
  </code></pre>