Support
- Advanced Backup
- Client Side
- Cloud Enterprise
- ColdFusion
- Control Panel
- cPanel
- Customer Portal
- DNS Information
- Dedicated Servers
- DirectAdmin
- Domain Name
- dotDefender
- Dreamweaver
- FileCatalyst
- Front Page
- FTP
- General Information
- Hosted Exchange & SharePoint
- IIS6
- IIS7
- Juniper Netscreen Firewalls
- Linux
- List Server
- MIVA Merchant
- MySQL
- Patching / Server Updates
- phpMyAdmin
- Plesk
- Policies and Procedures
- Premium Spam Filtering
- Programming
- Ruby on Rails
- How do I start building an application using Ruby on Rails?
- Frequently Asked Questions
- What Ruby gems are installed by default?
- How do I install Ruby on Rails?
- How do I publish my Ruby on Rails application?
- Where can I find additional Ruby on Rails resources?
- Where can I find a Ruby on Rails tutorial?
- Rubyonrails
- Search Engine Submission
- SharePoint 3
- SharePoint 2010
- SiteDesigner
- SmarterMail 3
- SmarterMail 4
- SmarterMail 5
- SmarterMail 6
- SmarterMail 7
- SmarterStats
- SmarterTrack
- SQL Server
- Secure Socket Layer (SSL)
- Uploading Your Website
- Video Tutorials
- Windows Server 2003
- Windows Server 2008
- Web Design
- WordPress
- Advanced Monitoring
- MediaWiki
- Enkompass
- Microsoft Outlook 2010
- Android
- Outlook Web Access
- Critical Availability Service
- NAS Data Transfer
- Customer Portal Demos
- Joomla
- Moodle
- Cloud Dedicated
- Gallery CMS
- phpBB
- Standard Monitoring
- Righteous Restore
- NAS (Network Attached Storage)
- Networking
- SmarterMail 8
- PCI Security Scan
- LinkTiger
- Windows Cloud VPS
- Linux Cloud VPS
- Linux VPS
- Windows VPS
- Hyper V
- ENSIM
- Alert Logic
- Webmin
- e107
- Vbulletin
- VPN
- Visual Vault
- Mozilla Thunderbird
- PyroCMS
- Active Directory
- Vmware Related
- Drupal
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 HostMySite'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:
- Log into the Linux Web server via Secure Shell (SSH).
- Change to the root folder using the following command:
cd
- Link your application folder to the htdocs folder using the following command:
ln -s ~/blog/public/ ~/htdocs/blog
Your application has been linked and is now visible in a Web browser, http://domainname.com/blog/
