Re: Running Rails App Via Passenger

Jim
Fri, 15 Feb 2013 14:41:26 -0000

On Thursday, February 14, 2013 5:31:38 PM UTC-5, Nick Apperley
wrote:
>
> Managed to access the website by adding *Listen 1025* to the Apache
> config file, and adding an entry to the hosts file. Have used a different
> port for the website (in its VirtualHost entry). Port 80 is already taken
> by the default website.



You can serve multiple sites from the same IP address and port if Apache is
set up correctly.  My virtual hosts file has this at the top:

# Use name-based virtual hosting.
NameVirtualHost *:80

Also, I don''t think you want to have a single-component domain name.
For
example, if the site would eventually go live at eea.com, then you could
set up your dev site with servername of eea.local, so that once the site is
live you can access both the live site and your local site without having
to change your hosts file.

--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit