How can I create and manage a multi-tenant ASP MVC application
Posted
by Wizzarding
on Stack Overflow
See other posts from Stack Overflow
or by Wizzarding
Published on 2010-04-07T14:23:23Z
Indexed on
2010/04/07
14:53 UTC
Read the original article
Hit count: 360
Hi,
I want to create a multi-tenant application that uses the hostname to determine the customer.
For example:
CustomerOne.myapp.com AnotherCo.myapp.com AndOneMore.myapp.com ...
I can do the database and security side with no problems, I can also get the hostname from the URL, but what I am struggling to find out is how to create the basic plumbing that would allow a new customer to sign up online, provide their company name, and for the application to create the new URL, ready to be used straight away.
Can anyone help?
Thanks,
Rob.
© Stack Overflow or respective owner