Cannot run second rails app in second domain (in vps)

17 views
Skip to first unread message

Fernando Segura Gòmez

unread,
Dec 21, 2013, 6:34:07 AM12/21/13
to rubyonra...@googlegroups.com
Hi for everyone.
I have a problem with my vps and my app in rails.
A few months I constructed an app with rails, in my vps, the application is working fine, without any problem, i working with a version 4.0 and the version for ruby is 1.9.3.
In a second domain, i installed the same version for both (ruby and rails), and run the application without any problem, in port 3000(the first is in 3005) but when i try to load in my browser, nothing happened ( run the app in this way : www.mydomain.com:3000 ), no load,no showing error in my ssh client.¿What's going on?.
I thought that my app was wrong, that's why delete the folder and build a new blank rails project, but when i run ( my domain is www.mydomain.com/app:3000) nothing happen, not load the website.

¿What can be the problem?

Jordon Bedwell

unread,
Dec 21, 2013, 7:08:17 AM12/21/13
to rubyonra...@googlegroups.com
How about you provide more information on the server operating system
and distribution and the hosting provider. We can't magically guess
these diagnostically relevant pieces of information that would let us
know if it's your fault for misconfiguring or if we should point you
in other directions.

Norm Scherer

unread,
Dec 21, 2013, 11:33:15 AM12/21/13
to rubyonra...@googlegroups.com
Can you access it locally on your vps? I would give a try with something
like curl or lynx (both text based accsess). Run one of them from a
terminal and see if you can get the initial root page whatever that is.
If that works you have a communication problem (firewall maybe). If it
does not work look in your logs.

Norm
> --
> 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-ta...@googlegroups.com.
> To post to this group, send email to rubyonra...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/rubyonrails-talk/70d905d0-0d20-4a6a-b311-c47bb48d2404%40googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages