How do I publish my Ruby on Rails application?

The following article explains how to publish your Ruby on Rails application from your local machine to Hosting.com's server. Using an FTP program, you can transfer the files to the root folder of you website. Your application will not work if the files are placed in the htdocs folder.

Once the files have been uploaded, you will need to link the application to the htdocs folder to allow the application to be visible in a Web browser. In the below example, the name of the folder that stores the application is 'blog'.

To link your application to the htdocs folder, please follow these steps:

  1. Log into the Linux Web server via Secure Shell (SSH).
  2. Change to the root folder using the following command: cd Change to the root folder.
  3. Link your application folder to the htdocs folder using the following command: ln -s ~/blog/public/ ~/htdocs/blog Link this folder to the htdocs folder.

Your application has been linked and is now visible in a Web browser, http://domainname.com/blog/

Additional Support Topics

Search Support Articles

SAS 70, PCI, BBB

© Hosting.com 2009
Contact Us
Terms of Service
Privacy Policy
AUP

Hosting.com is an Equal Employment Opportunity/Affirmative Action Employer (EEO/AA).