Just after a bit of advice about deployment.
Here is my scenario..
(If I am ever lucky enough to have lots of customers for my application - this is a good problem to have!)
- Let’s say I own www.uniguiapp.com
- I am using a VM which can scale to a certain degree(I can add more RAM and CPU cores etc.) Lets say for now the limit of the server is 2 customers.
- I have my application deployed on IIS – Underneath an application pool I have a site for each “Customer” eg.
- www.uniguiapp.com/customer1 goes to the application and connects to customer1’s database (on the same SQL server instance)
- www.uniguiapp.com/customer2 goes to the application and connects to customer2’s database (on the same SQL server instance)
- Each folder on the file system has its “own instance off the unigui application, eg its own ISAPI dll (as each is treated as a different site, underneath the application pool)
- Now, this setup works well for me, everything is on the same server I can roll out updates and make backups easily enough.
Now down to my question…
However, the server only has a certain amount of scaling, let’s say I have maxed out ram/cpu and I now have a new customer, let’s say customer3. I would now have to purchase a new VM server to accommodate customer3.
I would like to be able to have customer3's url of www.uniguiapp.com/customer3 , eventhough it is running on a different server. (with a different IP of course)
I want to know if this is possible, and how to achieve it.
Currently I have my server IP mapped to the domain name using a single A record, then my site in IIS maps to the correct directory.
Can I achieve what I need by have another A record on the new server of www.uniguiapp.com/customer3 ?
Apologies for the long post, and thanks for reading.
Any advice is welcome.