# Multiple instances of the same app

**URL:** <https://www.ruby-forum.com/t/multiple-instances-of-the-same-app/54731>\
**Category:** Rails\
**Created:** [March 13, 2006, 8:24pm UTC](https://www.ruby-forum.com/t/multiple-instances-of-the-same-app/54731 "2006-03-13T20:24:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pergesu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/22d042/32.png) [@pergesu](https://www.ruby-forum.com/u/pergesu)\
**Post date:** [March 13, 2006, 8:24pm UTC](https://www.ruby-forum.com/t/multiple-instances-of-the-same-app/54731/1 "2006-03-13T20:24:43Z")

</div>

I’ve got the same basic app that I’d like to run on a couple domains.  
It’s very simple and the functionality would stay the same, but  
templates would be different. I was wondering if there’s a way I can  
just run one instance of the app so that I don’t have to have multiple  
fcgi processes for each site. Is that a good approach for something  
like a simple blog? This way it wouldn’t take much memory at all.  
How would I go about ensuring that requests use the correct database,  
and how about handling different templates?

Pat

---

<div class="post-metadata">

**Author:** ![pergesu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/22d042/32.png) [@pergesu](https://www.ruby-forum.com/u/pergesu)\
**Post date:** [March 13, 2006, 9:23pm UTC](https://www.ruby-forum.com/t/multiple-instances-of-the-same-app/54731/2 "2006-03-13T21:23:28Z")

</div>

Pat M. \<pergesu@…\> writes:

> Pat

Check out the following page for “Productizing Your Rails App”…  
[http://wiki.rubyonrails.com/rails/pages/RailsProductGenerator](http://wiki.rubyonrails.com/rails/pages/RailsProductGenerator)
