Smart Proxy

16 views
Skip to first unread message

Dryadwoods

unread,
Feb 21, 2011, 9:13:38 AM2/21/11
to Community for ASP.NET MVC
Hello,

I'm working on one multi-tenancy application, where each tenant will
have access to 1 or more "sub applications" (different MVC websites).

http://v1.app1.domain.com
http://v1.app2.domain.com
http://v1.app3.domain.com

Later in time, I'll have new versions for each sub application and I
will end with:

http://v1.app1.domain.com
http://v2.app1.domain.com
http://v3.app1.domain.com
http://v1.app2.domain.com
http://v2.app2.domain.com
http://v1.app3.domain.com

Some tenants will want to have access to the latest versions (pay),
and some will still be using old ones.
This is what I've done.

Now I would like to keep "the subdomain versions" hidden for them.
They will only access the domain: app1.domain.com
This "internal smart proxy" will have the core to know which version
this tenant has access.

Anyone knows how I can do this? In a way that all my internal urls
(links, images, JS, css, etc...), AJAX,etc, will work correcly?
Or point me to some tutorials/blog/forums where i can find that can
help me?

Thank you very much.
Reply all
Reply to author
Forward
0 new messages