Welcome Guest | Login

Running multiple domains from one mongrel instance

Hi,

I'm a little confused. I'm trying to setup a second domain with 1 mongrel instance.
I currently only have 50mb of memory.

After reading this tutorial: http://www.hostingrails.com/forums/wiki_thread/6 it says :

"This tutorial is only meant for FastCGI deployment. A Mongrel instance or a Mongrel cluster can not serve multiple Rails applications. That is, unless you bundle all your Rails apps into one Rails app."

However after reading this tutorial: http://www.hostingrails.com/forums/deployment_troubleshooting_thread/145

it does not make mention of fastcgi or mongrel and it seems as though its methods will work for either?

I've followed the instructions and setup a symlink to my second app in my main public_html folder.  I'm still waiting for my dns update so I can test the site.  

After a bit more reading I'm thinking that I will required another 50mb for each extra domain I want to run?  Because 1 mongrel instance will only run 1 site?  Is there any other way around this apart from turning to fastcgi?

Regards,
Chris.



2007-10-16 06:38 PM

ok,
dns has updated.

a wget returns:
--10:22:15--   http://www.about-diabetes-symptoms.com/
          => `index.html'
Resolving www.about-diabetes-symptoms.com... 74.86.133.61
Connecting to www.about-diabetes-symptoms.com|74.86.133.61|:80... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
10:22:16 ERROR 500: Internal Server Error.

and if I try to browse to the page page it popups with a download application/cgi request.

where do I go from here?

Regards,
Chris.

2007-10-16 07:24 PM

> After a bit more reading I'm thinking that I will required another 50mb for each extra domain I want to run? Because 1 mongrel  >instance will only run 1 site? Is there any other way around this apart from turning to fastcgi?

Yes, you will need to add 50 MB dedicated memory for each Mongrel instance you want to run.
One mongrel instance will only run one rails app.

To troubleshoot "500 Internal Server Error" , please refer: http://www.hostingrails.com/forums/wiki_thread/9

2007-10-16 09:27 PM


Hello Guest! In order to post you must be an active client with us, please log in or sign up.