How do I move Ruby On Rails site to new web server

My client wants to move off their dedicated server and onto a shared hosting server to cut costs.
I set them up with bluehost with ssh enabled and a dedicated ip address.
I need to get the site working before transferring dns because of their email so I'm just using the new ip address:
I downloaded/uploaded the website and exported/imported the sql files. added the appropriate usernames/passwords edited in database.yml
I go to the site and nothing. I have no idea what I'm doing, I don't know ror. Is there good way to move websites programmed in ror?

Thanks in advance!
LVL 10
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

I think  you like to learn Capistrano

or maybe Vlad

Cap and vlad have nothing to do with actually running your application.

You need to start a service that actually serves the website.  If you've used php, you probably used apache with mod_php that takes the source php file and does the php-ness and outputs the html.

Similarly, there's a module for apache for rails:  Passenger aka mod_rails (

There's a big long list of deployment methods here:

Here are the bluehost rails links, too:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Finally, I'd really suggest looking at heroku ( to deploy your application.
Deploying is as easy as pushing to their server, but there are quite a few things you need to know (git, database config, etc) in order to use it easily.
OWASP: Forgery and Phishing

Learn the techniques to avoid forgery and phishing attacks and the types of attacks an application or network may face.

If you don't know what you are really doing, then I would strongly suggest not experimenting with your customers live data.

Whoever wrote the ruby on rails website, knows exactly how to get the website on another server, and also may know why it is on a dedicated server in the first place. By the way, it really a dedicated server, or is a slice, like what is available from

My concern would be what information is stored on the dedicated server. Suppose you successful get the ruby on rails website, up and running on the shared host, do you know what else is on the dedicated server?

Perhaps all the source code for the ruby on rails project is on the dedicated server. Perhaps there is a svn or git repository that has the complete history of the project. Perhaps there is an email program on the dedicated server that is hosting multiple domains or doing something else clever.

If you are willing to learn rails, and see what wesgarrison means when he suggests using heroku, then you can start with the material here, that is normally used in a 2 day workshop to learn ruby and rails. At the end of the 2 days, you host your own application on heroku. Once you figure out how to host on heroku, then you can figure out how to host on bluehost (but please be sure you really know what is on the dedicated server before you cancel the account, and forever lose the data)

Install rails on your machine.

Create test app and push it to heroku.
+1 for JimOser's answer. Lots of concerns to worry about.
bbrunningAuthor Commented:
Thanks for all the info, I'll go through it tonight.
Jim: Thanks for the concerns....let me rephrase it. I understand how the server works. 've been managing the dedicated server for 5 years now. I know linux, I just don't know rails. I have multiple sites on the dedicated server which have already been moved over to new hosting locations. It's the ror site that I'm having problems with. Also is there a way to check for dependencies/libraries that rails is using so I can make sure I move them/install them on the new one.

The main reason we bought this dedicated server was because ruby wasn't standard on most hosting 5 years ago and their old web designer requested it, then quit right after the website was done and has since dropped off the face of the planet. So, there's no way to get back in touch with him.

He want to migrate from one machine to another and for such kinds of task the  beforementioned libraries were developed....
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.