title: Apache Redirect A record to different URL
body: <p>I have been researching this for the last couple days with no success. I'm running Passenger Gem / Apache / Rails in production. I'm cutting over some old services and would like to re-direct an A record (<a href="http://webmail.domain.com" rel="nofollow">http://webmail.domain.com</a>) to a completely different server / URL (<a href="https://mail.domain.com/webmail" rel="nofollow">https://mail.domain.com/webmail</a>.)</p>
  
  <p>Here is my VirtualHost config in my httpd.conf file:</p>
  
  <pre><code>&lt;VirtualHost *&gt;
      ServerName webmail.domain.com
      Redirect permanent / https://mail.domain.com/webmail
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>I've also tried <code>&lt; VirtualHost *:80></code> but i get a warning when I restart the apache service. </p>
  
  <pre><code>[warn] _default_ VirtualHost overlap on port 80, the first has precedence
  </code></pre>
  
  <p>As you can tell I'm really new to Apache so any help would be appreciated.</p>