Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9300593
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T22:48:59+00:00 2026-06-18T22:48:59+00:00

I am trying to host a rails2 application on a new Virtual Machine which

  • 0

I am trying to host a rails2 application on a new Virtual Machine which is CentOS 6 with Parallels Plesk Panel 11 (64-bit).
I have installed RVM,ruby,rails, and passanger Succefully using the steps given here

I have followed all the steps correctly.
I have installed ruby 1.8.7 and rails 2.0.2

Now the thing is that, I am able to run the application using the Webrick server at 3000 port on the new server. Everything works fine there. But when I want to run it with apache, it doesn’t run. when I hit the url it returns the page

Not Found

The requested URL /account/login was not found on this server. Apache
Server at http://www.mem.com Port 80

Here is my passanger.conf file :

/etc/httpd/conf.d/passenger.conf

    LoadModule passenger_module /usr/local/rvm/gems/ruby-1.8.7-p371/gems/passenger-3.0.19/ext/apache2/mod_passenger.so
   PassengerRoot /usr/local/rvm/gems/ruby-1.8.7-p371/gems/passenger-3.0.19
   PassengerRuby /usr/local/rvm/wrappers/ruby-1.8.7-p371/ruby

Here is my virtual Host code :

/etc/httpd/sites-available/mem.conf

    <VirtualHost *:80>
 ServerAdmin youremail@example.com
 DocumentRoot /var/www/mem/public
 ServerName www.mem.com
 ErrorLog /var/log/httpd/mem/error.log
 CustomLog /var/log/httpd/mem/access.log common
</VirtualHost>

Any suggestions will be greatly appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T22:49:00+00:00Added an answer on June 18, 2026 at 10:49 pm

    The issue has been resolved. There already a Virtual Host had been created with different Document Root by the web hosting company. I moved my app directory to that path and application started. Thanks everyone for the suggestions.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to host an ASP.NET application that is running the Silverlight Video
I have a WCF service. I am trying to host the service in a
I'm trying to create a virtual host in apache so I can access a
I'm trying to get some gems working on a web-host which supports ruby and
I am trying to run PHP and Rails in the same virtual host, however,
I'm trying to get a RefineryCMS install running on my CentOS VPS (which has
I'm trying to deploy a Rails application from my local machine to the VPS
I have a rails 3 application on localhost, but my host (dreamhost) uses 2.3.5.
I am trying to deploy a Rails application online. My host right now is
I'm trying to use setup the rails application on apache2 using the virtual server

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.