Ruby on Rails Monday, May 28, 2012



On Sunday, 27 May 2012 17:33:43 UTC-4, Nick Apperley wrote:

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:

=======================================================
# Setup a virtual host for the rails apps to run in.
<VirtualHost *:80>
    # ServerName www.myhost.com
    ServerName eaa.mysite.com


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 received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/isG_yC_GwBAJ.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment