GarytheWorm
GarytheWorm

Reputation: 79

How to Move A Ruby On Rails Website To New Server

I have a Ruby on Rails website which I have successfully tar the apps directory which included the current folder ect. Which I Wget to transfer the files over. The server I have moved to is setup to run Ruby on Rails but is there anything else I need todo to get it running?

Any commands via SSH?

My new server setups is Ubuntu 11.04 running ISPConfig 3 as the server admin.

Current the file are in the correct location with the correct permissions and owners. But all I'm getting is the default ISPConfig page.

(This is the default index page of your website. This file may be deleted or overwritten without any difficulty. This is produced by the file index.html in the web directory.)

If anyone can point me in the right direction that would be great.

Upvotes: 2

Views: 2357

Answers (1)

Antarr Byrd
Antarr Byrd

Reputation: 26071

Have you tried creating a symbolic link on the server to the application something like

cd ~/public_html;
ln -s ~/rails-test-application/public rails3

http://www.site5.com/blog/programming/ruby-rails/how-to-deploy-phusion-passenger-to-a-subdirectory-routing-errors-and-restarting/20090414/

Upvotes: 1

Related Questions