web applications - Subdomain per client? -
i making web application (hopefully) service many clients. @ first, going have mydomain.com landing page login , have 1 massive database users, anticipated downsides approach. thought basecamp, example, which, when sign up, gives subdomain "instance" of product, such myclientname.basecamphq.com
my questions are: basecamp have own separate web application each instance, own separate database? have useful guides setting process?
thanks.
if gonna have sub-domains, yes each of them separate web application in iis. underlying concept how iis handles requests same ip different addresses. iis reads host http header , if s1.example.com refers peper application based on bindings. having separate databases decision you.
if conceptually don't need separation, don't because of technical issues. possible users separated based on parentid in database (a one-to-many relation between tblcustomers -> tblusers).
managing multiple databases/subdomains has more headaches bing integreated solution (just consider change in database design or changing ip address of server , setting dns records).
Comments
Post a Comment