views:

68

answers:

1

Hi guys

i am starting a new web project that contains 3 identical sites the only thing that differs is that each site got its own resources(database with asp.net membership, xml, web.config). i would like to know if it is possible to setup a website project that uses different resources for different sub folders and how can i setup virtual folders in a project solution.

the websites would look like this www.mysite.com/es/ and www.mysite.com/uk/ and www.mysite.com/au/.

i dont want to create different projects for each site because i want to be able to use the same classes and controls for all of the sites.

my biggest issue is how to setup virtual folders and make each folder access its own membership database?

any tips on how i can set this up?

A: 

It sounds likes this is more of a deployment issue than a development issue.

On your live web server, create the three folders in the root of the web site. Make each of them be their own Application (using IIS Manager). You should be able to google for the instructions for your particular version of IIS.

Install a copy of your project to each of the folders. Make the appropriate changes for to each web.config files for each database, ...

Now you will have three separate web applications running off of the same code base.

Jersey Dude