title: Stealth Domain forwarding
body: <p>what is the easiest way to stealth forward this first.domain.com to second.domain.com? Been trying it with this codes in .htaccess:</p>
  
  <pre><code>RewriteEngine On
  RewriteCond %{HTTP_HOST} ^first.domain.com$
  RewriteRule (.*)$ http://second.domain.com [R=301,L]
  </code></pre>
  
  <p>and</p>
  
  <pre><code>rewriteengine on
  rewritecond %{REQUEST_URI} first.domain.com/
  rewriterule (.*) http://second.domain.com [l,nc]
  </code></pre>
  
  <p>But I'm having no luck at all. I want to retain "first.domain.com" on my address bar even when the page is already on second.domain.com. Thanks in advance.</p>