The way it normally works is your request a port, they give it to you (say
4005).
You run rails on that port, and then your proxy apache or another webserver
to point to it. Either proxy or use mod_rewrite. Make sure you start the app
using mongrel and not webrick. Mongrel is the standard now, so you should be
fine.

Search on "deploying rails to joyent" or other to see instructions. They may
be similar to your hosting company (who I am assuming doesn't regularly host
rails apps).

Dreamhost uses a new deployment means called "Passenger" which makes it very
easy.

Regards,
Nick

On Thu, Nov 20, 2008 at 1:59 PM, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:

>
> My hosting company is saying it can't be on port 80. I'm willing to
> pay to get this to work on my root domain
>
> On Nov 19, 9:23 pm, "Steven A Bristol" <[EMAIL PROTECTED]>
> wrote:
> > On Thu, Nov 20, 2008 at 12:14 AM, [EMAIL PROTECTED]
> >
> > <[EMAIL PROTECTED]> wrote:
> >
> > > Sweet man, thanks!!
> >
> > > SO I did the right thing by removing the :3000 on my domain in the rb
> > > files?
> >
> > The urls in the config file are for writing urls in a certain part of
> > the app. If you are running dev mode on port 80, then removing it is
> > the right thing to do. But you should be running in prod mode on port
> > 80, and dev mode on port 3000. Try reading a tutorial on rails to see
> > how it works. Does anyone know a good one?
> >
> > steve
> >
>


-- 
Nicholas Van Weerdenburg

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Lovd by Less" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/lovdbyless?hl=en
Who loves ya baby?
-~----------~----~----~----~------~----~------~--~---

Reply via email to