# Uploading RoR Apps to Domains

**URL:** <https://www.ruby-forum.com/t/uploading-ror-apps-to-domains/74244>\
**Category:** Rails\
**Created:** [November 2, 2006, 3:56pm UTC](https://www.ruby-forum.com/t/uploading-ror-apps-to-domains/74244 "2006-11-02T15:56:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ryan\_Edwards-Crewe](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/59ef9b/32.png) [@Ryan\_Edwards-Crewe](https://www.ruby-forum.com/u/Ryan_Edwards-Crewe)\
**Post date:** [November 2, 2006, 3:56pm UTC](https://www.ruby-forum.com/t/uploading-ror-apps-to-domains/74244/1 "2006-11-02T15:56:40Z")

</div>

I recently got a domain and I wish to host my RoR app on it. I’ve tested  
it on my computer for the past month or so and it’s where I like it. I  
Uploaded my sql data to the server’s db and the host supports RoR what  
am I missing here. The one page I created shows but none of the links  
are working correctly. Any hints?

Thanks,  
Ryan

---

<div class="post-metadata">

**Author:** ![Ryan\_Edwards-Crewe](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/59ef9b/32.png) [@Ryan\_Edwards-Crewe](https://www.ruby-forum.com/u/Ryan_Edwards-Crewe)\
**Post date:** [November 2, 2006, 9:54pm UTC](https://www.ruby-forum.com/t/uploading-ror-apps-to-domains/74244/2 "2006-11-02T21:54:29Z")

</div>

Ryan Edwards-Crewe wrote:

> I recently got a domain and I wish to host my RoR app on it. I’ve tested  
> it on my computer for the past month or so and it’s where I like it. I  
> Uploaded my sql data to the server’s db and the host supports RoR what  
> am I missing here. The one page I created shows but none of the links  
> are working correctly. Any hints?
> 
> Thanks,  
> Ryan

Check with the hosting company. They may need to configure the web  
server application to point to your web application. (Like configuring  
the APache 2.X server to proxy to the rails mongrel server. Just a  
thought.

---

<div class="post-metadata">

**Author:** ![Ryan\_Edwards-Crewe](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/59ef9b/32.png) [@Ryan\_Edwards-Crewe](https://www.ruby-forum.com/u/Ryan_Edwards-Crewe)\
**Post date:** [November 3, 2006, 4:48pm UTC](https://www.ruby-forum.com/t/uploading-ror-apps-to-domains/74244/3 "2006-11-03T16:48:46Z")

</div>

Steve K. wrote:

> Ryan Edwards-Crewe wrote:
> 
> > I recently got a domain and I wish to host my RoR app on it. I’ve tested  
> > it on my computer for the past month or so and it’s where I like it. I  
> > Uploaded my sql data to the server’s db and the host supports RoR what  
> > am I missing here. The one page I created shows but none of the links  
> > are working correctly. Any hints?
> > 
> > Thanks,  
> > Ryan
> 
> Check with the hosting company. They may need to configure the web  
> server application to point to your web application. (Like configuring  
> the APache 2.X server to proxy to the rails mongrel server. Just a  
> thought.

I used the webrick to test, but this is the first time I’m hearing about  
proxying the mongrel server, I know the host has APache 2.x but I don’t  
know about mongrel. I’m really new at this rails -\> host things and  
there aren’t any tutorials that I’ve found that could help me out.

I guess b/c each host is different…

although they have given me the directories where ruby is on the server,  
I just have know idea what I’m supposed to put that information so my  
app can use it.

Ryan.

---

<div class="post-metadata">

**Author:** ![Ryan\_Edwards-Crewe](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/59ef9b/32.png) [@Ryan\_Edwards-Crewe](https://www.ruby-forum.com/u/Ryan_Edwards-Crewe)\
**Post date:** [November 3, 2006, 5:12pm UTC](https://www.ruby-forum.com/t/uploading-ror-apps-to-domains/74244/4 "2006-11-03T17:12:10Z")

</div>

Ryan Edwards-Crewe wrote:

> I used the webrick to test, but this is the first time I’m hearing about  
> proxying the mongrel server, I know the host has APache 2.x but I don’t  
> know about mongrel. I’m really new at this rails → host things and  
> there aren’t any tutorials that I’ve found that could help me out.
> 
> I guess b/c each host is different…
> 
> although they have given me the directories where ruby is on the server,  
> I just have know idea what I’m supposed to put that information so my  
> app can use it.

I did the same thing. I have been using RadRails for the local  
development environment. But for a mroe general demo I set up a  
Windows/Apache/Mongrel version. It’s not meant as the final  
destination…just somethign for showing others what’s capable. I doubt  
you can use that for prod…Here are a couple of links that might help:

Using Apache/Mongrel and SSL

[http://blog.innerewut.de/articles/2006/06/21/mongrel-and-rails-behind-apache-2-2-and-ssl](http://blog.innerewut.de/articles/2006/06/21/mongrel-and-rails-behind-apache-2-2-and-ssl)

Mongrel at Rubyforge

[http://mongrel.rubyforge.org/docs/apache.html](http://mongrel.rubyforge.org/docs/apache.html)

Those should point you in the right direction.

---

<div class="post-metadata">

**Author:** ![Ryan\_Edwards-Crewe](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/59ef9b/32.png) [@Ryan\_Edwards-Crewe](https://www.ruby-forum.com/u/Ryan_Edwards-Crewe)\
**Post date:** [November 7, 2006, 10:59am UTC](https://www.ruby-forum.com/t/uploading-ror-apps-to-domains/74244/5 "2006-11-07T10:59:26Z")

</div>

Explain a little more what happens (or doesn’t happen) when you click  
on a link; it could be that you simply don’t have the public/ folder  
symlinked into your webroot or something else simple.

Apache can run Rails over FastCGI or (egh…) CGI; there’s no need to  
proxy to Mongrel if you don’t have to.

–Jeremy
