I'm developing an asp.net application which let users create their own subdomain. the app creates the subdomains in IIS and it works.
But i think i have two options to do this and i want to know the pros and cons of each option.
1) Create a a new website and binding for each subdomain.
2) Create 1 website for the application and add a new binding for each new subdomain.
I am now using option 1, potentially creating hundreds of websites all pointing to the same app. Though they all use the same app pool i'm not sure it's a good idea performance wise.
all pointing to the same appdo you mean these sites are literally pointing to the exact same folder? Or are you creating a copy of some general application (e.g. Wordpress, Drupal, etc.) and then giving each user their own application folder? – Ek0nomik Mar 13 '12 at 15:19