Rails app on server

25 views
Skip to first unread message

Rajesh Klm

unread,
Sep 11, 2014, 1:06:54 PM9/11/14
to rubyonra...@googlegroups.com
I have a domain

www.example.com which has php script running

hosting has rails support through ssh

so with ssh i have created a testapp in public_html
so inside testapp all related files are created
then bundle installed
then rail s
it shows

[~/public_html/testapp]# rails s
=> Booting WEBrick
=> Rails 3.2.0 application starting in development on
http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server

but where is it running?
my hosting says to create a subdomain and point to public folder
i done the same

but it was not working

welcome page is displayed

but all other pages shows internal server error


actually how to host a rails app in real website
like
www.exaple.com
or test.example.com

--
Posted via http://www.ruby-forum.com/.

Jason Fleetwood-Boldt

unread,
Sep 11, 2014, 2:11:11 PM9/11/14
to rubyonra...@googlegroups.com
Try Heroku instead
> --
> 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/1b1a12fc29cda46cccd76bf9dfcc1efd%40ruby-forum.com.
> For more options, visit https://groups.google.com/d/optout.
>

Hassan Schroeder

unread,
Sep 11, 2014, 2:41:29 PM9/11/14
to rubyonrails-talk
On Thu, Sep 11, 2014 at 10:05 AM, Rajesh Klm <li...@ruby-forum.com> wrote:

> actually how to host a rails app in real website

Start here: http://rubyonrails.org/deploy/

--
Hassan Schroeder ------------------------ hassan.s...@gmail.com
http://about.me/hassanschroeder
twitter: @hassan
Reply all
Reply to author
Forward
0 new messages