question

Jorns-9499 avatar image
0 Votes"
Jorns-9499 asked SamWu-MSFT commented

Web application and multiple sub domains ?

Hello,i am developing a web application that will be single-tenant (one customer, one server). /security reasons, based on customer requests, one customer has more functions than another.../

(currently web app is running only in one server) as main entry point with login form

Let's say the main page for example: app.application.com (hosted in another server)

And is for example customer1, customer2 etc.

My idea is: When a user logs in in the form, for example: "customer1.1234567", I need to redirect him to his server (sub domain) for example to the address: customer1.application.com.

And this is same for mobile application, when user login with same username ("customer1.1234567") then request will be adressed to corresponding server in this case customer1.application.com (so the app.application.com will be skipped)

Basically, the username prefix tells the system to which server the request must be addressed.

My question is: Will be there a simpler solution, or this is pretty good idea ? Any suggestion to improvement ?

I using windows server(s) ASP.net + and IIS.

Thx for any ideas :-).

windows-server-iisdotnet-aspnet-general
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@Jorns-9499 What does one customer has more functions than another mean? Do you mean that one customer has more permissions than another customer?

0 Votes 0 ·

I mean, based from previous words, for one Customer has web application multiple functions, another Customer has web application with less functions. Functions = tools. Or Customer has own login form with custom background, or design...

0 Votes 0 ·

@Jorns-9499 In this case, your method should work.

0 Votes 0 ·

0 Answers