Question:

I am using mono via fastcgi in nginx, as described here
http://www.mono-project.com/FastCGI_Nginx

And I have a startup-script like this
http://yojimbo87.github.com/2010/03/14/mono-startup-script.html

Now my question:
If I have www.domain1.com and www.domain2.com, how can I make them point to the same (instance of my) mono application ?

Because right now, it creates one instance each for domain1 and domain2.

The underlying problem is

  • A) make the virtual hosts: www.domain.com and domain.com point to the same (instance of the) application
  • B) make subdomain1.domain.com, subdomain2.domain.com, ..., subdomainN.domain.com point to the same (instance of the) application (like xy.blogspot.com).

So that I can switch in my application the data according to subdomain.

link|improve this question

67% accept rate
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.