Click here to Skip to main content
15,120,326 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

Hopefully a quick question on Domain masking/forwarding

I am starting work on a new MVC 5 app, it will be a multi tenant setup

There will be a single admin area to setup the tenants

The individual tenants sites will be done through routing

tenant1.exampleApp.com

{tenant}.exampleApp.com/{controller}/{action}/{id}

(i think that will work) got the example here - http://forums.asp.net/t/1595259.aspx?Multiple+domains+in+single+asp+net+mvc+application[^]


if the client wants a custom domain name eg www.shop.com

can i mask that to the tenant1.exampleApp.com and still have the mvc routing work?

Many thanks
C
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900