# Best server + database to use with Rails?

**URL:** <https://www.ruby-forum.com/t/best-server-database-to-use-with-rails/122936>\
**Category:** Rails\
**Created:** [December 12, 2007, 9:42pm UTC](https://www.ruby-forum.com/t/best-server-database-to-use-with-rails/122936 "2007-12-12T21:42:08Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Action](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/8e8cbc/32.png) [@Action](https://www.ruby-forum.com/u/Action)\
**Post date:** [December 12, 2007, 9:42pm UTC](https://www.ruby-forum.com/t/best-server-database-to-use-with-rails/122936/1 "2007-12-12T21:42:08Z")

</div>

I’ve never touched Ruby or Rails before (PHP developer) and I’ve  
decided to check out what the hype is all about. I’ve read that Ruby  
on Rails has issues with Apache. Is that still true? If so, what  
server + database combo is the best for Ruby on Rails? And what  
affordable shared host ($10/mo or less) provides it?

---

<div class="post-metadata">

**Author:** ![Action](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/8e8cbc/32.png) [@Action](https://www.ruby-forum.com/u/Action)\
**Post date:** [December 12, 2007, 9:47pm UTC](https://www.ruby-forum.com/t/best-server-database-to-use-with-rails/122936/2 "2007-12-12T21:47:52Z")

</div>

Action wrote:

> I’ve never touched Ruby or Rails before (PHP developer) and I’ve  
> decided to check out what the hype is all about. I’ve read that Ruby  
> on Rails has issues with Apache. Is that still true? If so, what  
> server + database combo is the best for Ruby on Rails? And what  
> affordable shared host ($10/mo or less) provides it?

well, the common db is mysql.

what apache issues? i don’t know of any.  
maybe somebody else would know of any.

there are lots of hosting for $6 a month.  
gator or monster.

---

<div class="post-metadata">

**Author:** ![Action](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/8e8cbc/32.png) [@Action](https://www.ruby-forum.com/u/Action)\
**Post date:** [December 12, 2007, 10:09pm UTC](https://www.ruby-forum.com/t/best-server-database-to-use-with-rails/122936/3 "2007-12-12T22:09:34Z")

</div>

Rails is pretty database agnostic in that you really don’t need to worry  
much about the database at all. To put it in perspective, if you want  
to, you can create the database, generate the tables, create the fields  
and set their attributes, search, update, remove as well as make changes  
to the schemas and perform testing all without ever actually looking at  
how the database works at all. That said, everything from Postgres to  
SQLite do the job depending on your needs with MySQL sort of being the  
status quo.

As far as server setup, I am a firm believer in about 3 Mongrel Clusters  
with Nginx server running proxy balancing and the entire thing managed  
with capistrano. Check out this amazing tutorial for more details:

[http://www.railsjitsu.com/installing-and-configuring-nginx-and-mongrel-for-rails](http://www.railsjitsu.com/installing-and-configuring-nginx-and-mongrel-for-rails)

It is a step by step guide from start to finish for using the Rails  
setup I like best and I have tried 3-4 entirely different  
configurations.

As far as “affordable” web hosting. There is 10/month web hosting but I  
would really recommend splurging a little and getting a server from  
Linode. They are literally just top quality. Root access, great customer  
service, enough ram to run 3-5 mongrel instances. They are just a great  
company. Frankly settling for less is just shortchanging yourself.

I am not affiliated at all with any of these places I am mentioning.  
Just a fan. Feel free to ask me any follow up questions.

gemblon (t.b.) wrote:

> Action wrote:
> 
> > I’ve never touched Ruby or Rails before (PHP developer) and I’ve  
> > decided to check out what the hype is all about. I’ve read that Ruby  
> > on Rails has issues with Apache. Is that still true? If so, what  
> > server + database combo is the best for Ruby on Rails? And what  
> > affordable shared host ($10/mo or less) provides it?
> 
> well, the common db is mysql.
> 
> what apache issues? i don’t know of any.  
> maybe somebody else would know of any.
> 
> there are lots of hosting for $6 a month.  
> gator or monster.

---

<div class="post-metadata">

**Author:** ![Action](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/8e8cbc/32.png) [@Action](https://www.ruby-forum.com/u/Action)\
**Post date:** [December 13, 2007, 12:06am UTC](https://www.ruby-forum.com/t/best-server-database-to-use-with-rails/122936/4 "2007-12-13T00:06:46Z")

</div>

I’ll chime in and agree with what Phillip said - If you up your  
monthly budget a hair (15-20), you’ll be happy with a VPS. That way  
you can experiment with a setup that you like apache+mongrel or nginx  
+mongrel, etc

Dave  
[http://www.silverrack.com](http://www.silverrack.com) - VPS Hosting

---

<div class="post-metadata">

**Author:** ![Action](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/8e8cbc/32.png) [@Action](https://www.ruby-forum.com/u/Action)\
**Post date:** [December 12, 2007, 11:29pm UTC](https://www.ruby-forum.com/t/best-server-database-to-use-with-rails/122936/5 "2007-12-12T23:29:11Z")

</div>

> As far as “affordable” web hosting. There is 10/month web hosting  
> but I  
> would really recommend splurging a little and getting a server from  
> Linode. They are literally just top quality. Root access, great  
> customer  
> service, enough ram to run 3-5 mongrel instances. They are just a  
> great  
> company. Frankly settling for less is just shortchanging yourself.

I’m a big fan of SliceHost. You have to want to admin your own  
“box”, but it’s well worth it knowing exactly what’s there and being  
able to fix any shortcoming. Great support, too. Pretty reasonable  
pricing as well. Highly recommended!

Peace,  
Phillip

---

<div class="post-metadata">

**Author:** ![Action](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/8e8cbc/32.png) [@Action](https://www.ruby-forum.com/u/Action)\
**Post date:** [December 13, 2007, 6:10am UTC](https://www.ruby-forum.com/t/best-server-database-to-use-with-rails/122936/6 "2007-12-13T06:10:49Z")

</div>

Nathan E. wrote:

> Rails is pretty database agnostic in that you really don’t need to worry  
> much about the database at all. To put it in perspective, if you want

* * *

nice site. damn awesome. great info.

---

<div class="post-metadata">

**Author:** ![Action](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/8e8cbc/32.png) [@Action](https://www.ruby-forum.com/u/Action)\
**Post date:** [December 13, 2007, 5:50am UTC](https://www.ruby-forum.com/t/best-server-database-to-use-with-rails/122936/7 "2007-12-13T05:50:28Z")

</div>

> I’ve never touched Ruby or Rails before (PHP developer) and I’ve  
> decided to check out what the hype is all about. I’ve read that Ruby  
> on Rails has issues with Apache. Is that still true? If so, what  
> server + database combo is the best for Ruby on Rails? And what  
> affordable shared host ($10/mo or less) provides it?

Never used them, but have seen some good things about them.

[http://asmallorange.com/services/hosting/](http://asmallorange.com/services/hosting/)

$5/mo.
