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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T12:24:48+00:00 2026-06-14T12:24:48+00:00

I am using Ubuntu 12.04 and I have a rails application, that I would

  • 0

I am using Ubuntu 12.04 and I have a rails application, that I would like to start on boot. Also if I start the server from console like

cd <path of the application>
rails s -p 3000

I will have to keep the console open, else the application will end as soon as I end the terminal.

Second to access the application I will have to access localhost:3000. I would rather like to have access it with a proper name like localhost/myapp or just myapp in browser.

First, is it possible? How do I do that?

PS: I already have some PHP applications running on Apache. I would not like to mess with the default 80 / 8080 port.

  • 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-14T12:24:49+00:00Added an answer on June 14, 2026 at 12:24 pm

    Edit /etc/hosts to add

    127.0.0.1 myapp

    Also, start with rails s -p 80 if you don’t want to specify the 3000 port in the browser. This can interfere with an Apache process already listening to the 80 port.

    EDIT : To make it work with Apache :

    Let the Rails app on the 3000 port and enable mod proxy for Apache, in order to ProxyPass requests incoming to the myapp host.

    There is several examples here : httpd.apache.org/docs/2.0/mod/mod_proxy.html

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

Sidebar

Related Questions

I'm using Ubuntu Server and I have a rails application. I want to start
I have a rails application and I want to start the server automatically whenever
I have a ruby 1.9 rails 3.0.7 application that is using lucid/solr to index
I'm trying to install a rails server for my application. I'm using ubuntu 10.04
I'm using eSpeak on Ubuntu and have a Python 2.7 script that prints and
I am using ubuntu in my server. I have two users, let them be
I have a question about receiving emails. Using Ubuntu as the server, I have
I have been writing a SOAP client application in C++ on Ubuntu using OpenSSL
I have a Rails application that unfortunately after a request to a controller, has
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.