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+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/SuLtpqPc7skJ.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to