if you are using Passenger, I recommend this post http://hlcfan.logdown.com/posts/139092-deploy-rails-app-with-passenger-and-nginx and beside, did you check the difference between local and remote?
在 2014年4月16日星期三UTC+8上午7时09分20秒,Melb01写道: > > Hi, > I developped a rails application and I wanted to deploy it, > I get a dedicated server, and I installed the necessary package: rails, > apache2, passenger > and I deploy it locally with success and I access it with: http://myapp > > when I tried to access it from a remote server with tthe url : > http://<host name>/myapp > I get the error message 404 not found, what am I doing wrong > > I am able to access it with http://<host name>:3000 when I start the app > with "rails s" > > rgds > -- 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/695e70e5-076b-475e-a9b6-c746e2c4c15e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

