Is there any configuration I need to do on a shared hosting? Has
anyone experience with this before?
I’m sorry I have to ask it here since the hosting provided weren’t
very supportive as they said it’s the problem with the apps, but this
seems to be a relatively simple question
As far as I know (and that’s not much in this case), then Rails needs
to be installed by the hosting provider… and i’d say your chances of
making that happen are somewhere between nil and none… Maybe there’s
some workaround to this, I know that phusion passenger allows
deployment to Apache webservers, but I haven’t used it, so I don’t
know about this case (although any day now i’m gonna investigate
it)… maybe there’s another solution… anyone??
Rails would need to be installed. Do you have an .htaccess file that
resides in your public_html directory? If so, that file is crucial for
getting your app up and running.
I tried running a Rails app through cPanel a long time ago and gave up
because I like to have finer control over everything. If money is not
too much of an issue, I think you would be better served by signing up
for a VPS from somewhere and then setting up your own virtual server
to run the app on if for no other reason than to gain a good
understanding for how Rails applications are served to your audience.
I’ve been hoping to find a solution to hsphere and cpanel because i
have clients that use these already for hosting… i spose i could
switch them to a slice of my choosing, but for convenience sake, i’d
rather stick with their hosts, so if anyone has anything on this, that
would be useful…
From what I have found, there’s very little shared hosts out there
(especially the cheap ones) that are framework friendly, whether
that’s RoR or CakePHP or … There are some exceptions, but those are
usually the hosts that charge a bit more to be able to give customers
decent support. We used to deploy wherever our customer wanted, having
to contact Mr. John S. from their host who couldn’t even write
english properly and answered us using lots of technical vocabulary
that didn’t even make sense, even though we ran our own dedicated
linux servers. Every host was a new surprise and our apps kept on
crashing and dumping huge error files.
In the end, we just told our customers to bite the bullet, we went for
our own dedicated server, set it up, charged them about double what
they paid for their own host, provided them with plesk so they could
at least make their own e-mail addresses and ever since we have had
very happy customers, despite them having to pay a bit more. We
haven’t had a single complaint and we can tweak the server to our
liking. You get what you pay for in the end.
On 02 Dec 2008, at 12:20, Nellboy wrote:
because I like to have finer control over everything. If money is not
too much of an issue, I think you would be better served by signing
up
for a VPS from somewhere and then setting up your own virtual server
to run the app on if for no other reason than to gain a good
understanding for how Rails applications are served to your audience.
I’ve heard good things about Slicehost, http://www.slicehost.com/, and
have been thinking about hosting any actual applications there if they
ever get too big for my tiny Atom server I am currently running from
my apartment’s server shelf.