title: How to Redirect an Old Domain to a New Domain?
body: <p>I have created a .htaccess file, containing the following:</p>
  
  <pre><code>RewriteEngine On
  RewriteCond %{HTTP_HOST} ^oldsite.com [NC]
  RewriteRule ^(.*)$ http://newsite.com/$1 [L,R=301,NC]
  </code></pre>
  
  <p>and then uploaded this file to oldsite's server through FileZilla, but when I load oldsite.com its not redirecting to newsite.com</p>