title: Virtual host with Passenger
body: <p>Rails app already works correctly on <strong>mydomain.com</strong> with Apache+Passenger. In addition, I'm going to deploy non-Rails app(wordpress) on <strong>blog.mydomain.com</strong>. So I modified httpd.conf like</p>
  
  <pre><code>PassengerEnabled off
  &lt;VirtualHost *:80&gt;
    ServerName mydomain.com
    DocumentRoot /var/www/railsapp/public
    PassengerEnabled on
  &lt;/VirtualHost&gt;
  
  &lt;VirtualHost *:80&gt;
    ServerName blog.mydomain.com
    DocumentRoot /var/www/blog
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>But this doesn't work. <strong>blog.mydomain.com</strong> also shows Rails app. How can I divide them?</p>