not sure who your hosting company is, but with mine here’s how i set up
a rails app at my hosting
There are two paths you can go down,
- I want a rails application to run on my main domain at the root
level, e.g. mydomain.com
- I want to run multiple rails applications or not make my rails
application my root application.
You need to point apache to your rails applications public directory,
this can be done using an ssh
session and creating a symbolic link.
mv public_html public_html_bak
ln -s ~/railsapp/public ~/public_html
First, login to cpanel and create your new subdomain, we will call this
subdomain rails for the example.
Now ssh into your account, and remove the directory cpanel created and
replace it with a symbolic link
to your rails application.
rm -r -f rails
ln -s ~/railsapp/public ~/public_html/rails
Josh K. <jjkiesch@…> writes:
i just went through installing RoR on a cpanel setup and everything
seems to work except for deployment. i go through the entire process of
setting up a new rails app on a cpanel account and i get:
The requested URL /testapp/index.html was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use
an ErrorDocument to handle the request.
Apache/1.3.34 Server at media.mymediaglo.com Port 80
is there anyone out there that has had a successful implementation of