title: Apache ServerAlias not redirecting to correct ServerName
body: <p>i'm try to setup multiple wordpress sites on my Amazon EC2 instance. Here's how my httpd.conf file looks like:</p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
     ServerName www.domain1.com
     ServerAlias domain1.com
     DocumentRoot /var/www/html/domain1
  &lt;/VirtualHost&gt;
  
  &lt;VirtualHost *:80&gt;
     ServerName www.domain2.co
     ServerAlias domain2.co
     DocumentRoot /var/www/html/domain2
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>So, when i entered domain1.com or www.domain1.com in the browser, it redirects correctly to the content i wanted and so does www.domain2.co . However, when i entered domain2.co, it doesn't directs to the ServerName www.domain2.co but to the first VirtualHost settings www.domain1.com. </p>
  
  <p>Anything i'm missing out here?</p>