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 8369553
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T13:40:40+00:00 2026-06-09T13:40:40+00:00

guys. OK. Trying to deploy a rails project on apache. Ive deleted the public/index.html

  • 0

guys.

OK. Trying to deploy a rails project on apache. Ive deleted the public/index.html file. I cant get past the “It works!” screen. Im guessing this is a routing issue – Ive got to give it the right document root so that it can find the homepage of the app I have created, right? Problem is, Ive tried everything – anything outside of the public folder doesnt seem to exist. Here is my apache sites-available file:

<VirtualHost *:80>

ServerName localhost
ServerAlias localhost
DocumentRoot /home/feenix/public_html/CRRC/public    


</VirtualHost>

I changed the rails root to “home#index”. Ive tried that as a document root for apache and it doesnt recognise it. Any help would be appreciated, as to where I should be looking for the correct document root – do I have to add something to the public folder in the rails project? Any help will be gratefully appreciated.

Cheers

  • 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-09T13:40:42+00:00Added an answer on June 9, 2026 at 1:40 pm

    It works! is the Apache default. That means you aren’t pointing properly at Rails yet.

    You’ve got the DocumentRoot correct.

    Do you have NameVirtualHosts *:80 setup? Also, is Passenger enabled? I’m assuming you’re using it.

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

Sidebar

Related Questions

Hi guys i am trying to create one simple make file and execute in
hey guys im trying to save a url link in a html form but
Hey guys Im currently trying to get a textbox a select menu and a
Hi guys I'm trying to get an automatic download box to appear when people
Hey guys I am trying to manipulate a word .docx file using the openXML
Hey Guys I'm trying to get the Railscasts source code from github. when I'm
Hey guys I'm trying to get my application to run on Internet Explorer 8.
Hey guys...I am trying to get some data based on a condition which I
Hey guys im trying to get a simple button masher up, What i want
Hey guys I'm trying to set up a nachos project in Eclipse on my

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.