I am trying to deploy a rails application on Bluehost using passenger and I have been failing all the time. I installed the passenger gem using:
gem install passenger
And also ran:
passenger-install-apache2-module
And ran all my db migrations and also did a asset precompile
The problem is, I am trying to host it on a sub-domain, so I did the following steps:
- Created a sub-domain.
- Created a sym link from rails app pointing to the sub-domain.
- Added the following lines to my .htaccess:
PassengerEnabled On
PassengerAppRoot /home/username/rails_apps/my_app
And when I navigate to my domain in the browser it gives me:
Internal Server Error. The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@sub.domain.com
Where am I going wrong?
Thanks in advance :)