Setting Up A Rails App With Passenger

Been trying to get Passenger installed and setup to run a rails app.
Everytime I goto eaa.mysite.com in Firefox the web browser goes out to
the Internet instead of serving up the website. Why does this occur?

Below is part of the configuration for apache2.conf:

For this to work locally, you’ll need to point DNS for eaa.mysite.com at your local IP. Adding a line like this to /etc/hosts should do the trick:

127.0.0.1 eaa.mysite.com

–Matt Jones

You can also look into pow http://pow.cx/, so you don’t have to worry about configuring your sites at all.
Just install it, install the powder gem, go to your app folder and type ‘powder link’ and your site will be available at http://yourappname.dev

pretty slick.