Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Configuring Apache2 for Rails on Ubuntu 12, Xen VPS |
|
Author |
|
asfarley
Joined: 10 Nov 2013 Posts: 1 Location: Mississauga
|
Posted: Sun 10 Nov '13 18:05 Post subject: Configuring Apache2 for Rails on Ubuntu 12, Xen VPS |
|
|
Hi,
I've installed Apache2 on an Ubuntu 12 VPS. My goal is to serve a Rails application but right now I am being redirected to a placeholder page.
Some background: I have an existing copy of my site running on shared hosting using Site5 (rsearch.ca). I've just purchased a separate VPS through Site5 and set the domain to dev.rsearch.ca.
The VPS root URL (dev.rsearch.ca) is redirecting to dev.rsearch.ca/cgi-sys/cgi-sys/defaultwebpage.cgi which is a default Site5 placeholder.
Is there any way for me to figure out where this default page is being served from without the assistance of the hosting provider (Site5)?
My expectation was that I would get a "no response" or something similar until I had properly configured Apache2/Rails/etc on the server, so I'm not sure where this default page could be coming from. The VPS does not come with Apache installed so I don't see how it could actually be serving anything. Where am I going wrong here?
A related question: at what layer does the request path branch when I make a request to rsearch.ca, vs dev.rsearch.ca? The thing that confuses me is that even with my original shared hosting account (just the rsearch.ca computer) I was able to set up subdomains like dev.rsearch.ca, so how does each computer know whether to handle a request?
When I make a request for dev.rsearch.ca/index.html, how come I don't get a response from the rsearch.ca computer (saying that the subdomain dev.* wasn't found) plus a response from dev.rsearch.ca saying that the index page wasn't found because no server is installed?
I wouldn't normally think of this as an Apache-specific question but the hosting provider has suggested that the problem lies in my Apache configuration, or lack thereof. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
|
Back to top |
|
|
|
|
|
|