# Rails on shared hosting

**URL:** <https://www.ruby-forum.com/t/rails-on-shared-hosting/154589>\
**Category:** Rails\
**Created:** [December 2, 2008, 12:09am UTC](https://www.ruby-forum.com/t/rails-on-shared-hosting/154589 "2008-12-02T00:09:55Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![builtbysimple](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/aca169/32.png) [@builtbysimple](https://www.ruby-forum.com/u/builtbysimple)\
**Post date:** [December 2, 2008, 12:09am UTC](https://www.ruby-forum.com/t/rails-on-shared-hosting/154589/1 "2008-12-02T00:09:55Z")

</div>

Dear all,

Has anyone run RoR on cPanel based shared hosting? I’ve got my RoR  
application on [http://mydomain:10024/](http://mydomain:10024/)

Now I’ve uploaded all my Product model, view and controller.

Then I tried hitting: [http://mydomain:10024/products](http://mydomain:10024/products) but it didn’t work

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 ☹

Thank you in advance for the support.

–  
Not by might nor by power, but by His Spirit.

Read my blog: [http://joshuajava.wordpress.com/](http://joshuajava.wordpress.com/)  
Follow me on twitter: [http://twitter.com/jpartogi](http://twitter.com/jpartogi)

---

<div class="post-metadata">

**Author:** ![builtbysimple](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/aca169/32.png) [@builtbysimple](https://www.ruby-forum.com/u/builtbysimple)\
**Post date:** [December 2, 2008, 1:47am UTC](https://www.ruby-forum.com/t/rails-on-shared-hosting/154589/2 "2008-12-02T01:47:05Z")

</div>

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??

---

<div class="post-metadata">

**Author:** ![builtbysimple](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/aca169/32.png) [@builtbysimple](https://www.ruby-forum.com/u/builtbysimple)\
**Post date:** [December 2, 2008, 6:15am UTC](https://www.ruby-forum.com/t/rails-on-shared-hosting/154589/3 "2008-12-02T06:15:10Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![builtbysimple](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/aca169/32.png) [@builtbysimple](https://www.ruby-forum.com/u/builtbysimple)\
**Post date:** [December 2, 2008, 7:15am UTC](https://www.ruby-forum.com/t/rails-on-shared-hosting/154589/4 "2008-12-02T07:15:26Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![builtbysimple](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/aca169/32.png) [@builtbysimple](https://www.ruby-forum.com/u/builtbysimple)\
**Post date:** [December 2, 2008, 12:21pm UTC](https://www.ruby-forum.com/t/rails-on-shared-hosting/154589/5 "2008-12-02T12:21:46Z")

</div>

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…

---

<div class="post-metadata">

**Author:** ![builtbysimple](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/aca169/32.png) [@builtbysimple](https://www.ruby-forum.com/u/builtbysimple)\
**Post date:** [December 2, 2008, 1:46pm UTC](https://www.ruby-forum.com/t/rails-on-shared-hosting/154589/6 "2008-12-02T13:46:26Z")

</div>

I think I must agree with you on this. It’s just shared hosting are  
all about marketing when they said they support rails ☹

Yeach the module is there and accessible from cPanel, but Rails can’t  
actually run. _sigh_

Any good slice hosting that is recommended anyone?

Cheers.

---

<div class="post-metadata">

**Author:** ![builtbysimple](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/aca169/32.png) [@builtbysimple](https://www.ruby-forum.com/u/builtbysimple)\
**Post date:** [December 2, 2008, 1:41pm UTC](https://www.ruby-forum.com/t/rails-on-shared-hosting/154589/7 "2008-12-02T13:41:09Z")

</div>

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.

Best regards

Peter De Berdt

---

<div class="post-metadata">

**Author:** ![builtbysimple](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/aca169/32.png) [@builtbysimple](https://www.ruby-forum.com/u/builtbysimple)\
**Post date:** [December 2, 2008, 3:18pm UTC](https://www.ruby-forum.com/t/rails-on-shared-hosting/154589/8 "2008-12-02T15:18:58Z")

</div>

I’ve heard good things about Slicehost, [http://www.slicehost.com/](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.

---

<div class="post-metadata">

**Author:** ![builtbysimple](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/aca169/32.png) [@builtbysimple](https://www.ruby-forum.com/u/builtbysimple)\
**Post date:** [December 2, 2008, 4:19pm UTC](https://www.ruby-forum.com/t/rails-on-shared-hosting/154589/9 "2008-12-02T16:19:03Z")

</div>

I can second the recommendation for slicehost.

The best ‘shared’ Rails host I’ve experienced is  
[http://www.ocssolutions.com/](http://www.ocssolutions.com/).

---

<div class="post-metadata">

**Author:** ![builtbysimple](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/aca169/32.png) [@builtbysimple](https://www.ruby-forum.com/u/builtbysimple)\
**Post date:** [December 3, 2008, 12:31am UTC](https://www.ruby-forum.com/t/rails-on-shared-hosting/154589/10 "2008-12-03T00:31:21Z")

</div>

All my experiences with slicehost have been positive…

On Dec 2, 3:42 pm, Roderick van Domburg \<rails-mailing-l…@andreas-

---

<div class="post-metadata">

**Author:** ![builtbysimple](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/aca169/32.png) [@builtbysimple](https://www.ruby-forum.com/u/builtbysimple)\
**Post date:** [December 2, 2008, 4:35pm UTC](https://www.ruby-forum.com/t/rails-on-shared-hosting/154589/11 "2008-12-02T16:35:31Z")

</div>

On 2 Dec 2008, at 15:18, John Y. wrote:

> I can second the recommendation for slicehost.
> 
> The best ‘shared’ Rails host I’ve experienced is [http://www.ocssolutions.com/](http://www.ocssolutions.com/)  
> .

slicehost have been good to me too, as have linode (although I’ve  
never had anything more critical than my blog and a few random  
experiments).

Fred

---

<div class="post-metadata">

**Author:** ![builtbysimple](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/aca169/32.png) [@builtbysimple](https://www.ruby-forum.com/u/builtbysimple)\
**Post date:** [December 2, 2008, 4:42pm UTC](https://www.ruby-forum.com/t/rails-on-shared-hosting/154589/12 "2008-12-02T16:42:30Z")

</div>

Allow me to plug [http://www.railscluster.nl](http://www.railscluster.nl) ([http://en.railscluster.nl](http://en.railscluster.nl)  
for the English site), which is a fully clustered shared hosting  
solution. It’s been designed especially for Rails hosting.

–  
Roderick van Domburg  
[http://www.nedforce.com](http://www.nedforce.com)

---

<div class="post-metadata">

**Author:** ![builtbysimple](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/aca169/32.png) [@builtbysimple](https://www.ruby-forum.com/u/builtbysimple)\
**Post date:** [December 3, 2008, 12:53am UTC](https://www.ruby-forum.com/t/rails-on-shared-hosting/154589/13 "2008-12-03T00:53:00Z")

</div>

Have been using [railsplayground.com](http://railsplayground.com) and love their support team…  
Upgraded recently to a reseller account and will probably upgrade one  
day to a VPS

---

<div class="post-metadata">

**Author:** ![builtbysimple](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/aca169/32.png) [@builtbysimple](https://www.ruby-forum.com/u/builtbysimple)\
**Post date:** [December 3, 2008, 5:27am UTC](https://www.ruby-forum.com/t/rails-on-shared-hosting/154589/14 "2008-12-03T05:27:57Z")

</div>

On Tue, Dec 2, 2008 at 4:45 AM, Joshua P. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> I think I must agree with you on this. It’s just shared hosting are  
> all about marketing when they said they support rails ☹
> 
> Yeach the module is there and accessible from cPanel, but Rails can’t  
> actually run. _sigh_
> 
> Any good slice hosting that is recommended anyone?

Joshua,

You might give Boxcar a look over as well. We’ve made this process  
painless. 🙂

- [http://railsboxcar.com/](http://railsboxcar.com/)

## Cheers, Robby

Robby R.  
Chief Evangelist, Partner

PLANET ARGON, LLC  
design // development // hosting

> **[Planet Argon](https://www.planetargon.com/)**
>
> Planet Argon is a Ruby on Rails development agency specializing in maintenance and support for existing Rails apps. Based in Portland, OR, Planet Argon has been a member of the Rails community since 2005.

> **[Home](https://robbyonrails.com/)**
>
> Robby Russell writes about Ruby on Rails, software maintainability, and the craft of building long-lived applications. Creator of Oh My Zsh.

aim: planetargon

+1 503 445 2457  
+1 877 55 ARGON [toll free]  
+1 815 642 4068 [fax]
