title: URL redirect when DNS is changed
body: <p>I have some DNS changes done. </p>
  
  <pre><code>test.com, test.nu, test.se, testme.com -----&gt;welcome.se
  </code></pre>
  
  <p>All urls in the above servers must be redirected to <a href="http://welcome.se/abcd/test/index.html" rel="nofollow">http://welcome.se/abcd/test/index.html</a></p>
  
  <p>I have written the following rewrite rules.</p>
  
  <pre><code>ReWriteCond %{HTTP_HOST} ^(test|testme)\.(se|com|nu))$ [NC]
  RewriteRule ^ http://welcome.se/abcd/test/index.html [L,R=301]
  </code></pre>
  
  <p>Can someone tell me if this perfect.</p>
  
  <p>I just tried this. I do not have any method to test it.</p>