Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've developed a small Rails app that I need to run on my local network. I got Apache2 and Phusion Passenger set up, and the app is running on the server at, but I am not sure how to set it up so that I can access the app from any computer on the network. I know that if I had it running on rails server with WebBrick, that I could reach the app from any computer by visiting (with being my IP, of course). I want this type of functionality from my current setup.

Here's my VirtualHost configuration from my httpd.conf:

<VirtualHost *:80>
    DocumentRoot "/webapps/myapp/public"
    <Directory "/webapps/myapp/public">
        Allow from all
        Options -MultiViews

Here's a screengrab of my Server Admin settings:

Applications - Server - Server Admin

Everything else is default - I just set this up yesterday, and I really don't know how to configure it all that well yet.

share|improve this question
up vote 1 down vote accepted

Your document root points to /var/www and not "/webapps/myapp/public". And you need to make decision - you will either manipulate the conf files directly or use Server Admin. You can't do both because it leads to a total mess.

share|improve this answer
I'll keep this in mind, thanks. – kivetros May 19 '11 at 14:00

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.