I would like to have a single asp mvc application that runs under www.mysite.com for all guests. Once the user logs into the website I would like to use the subdomain my.mysite.com as the domain they will use across the site within the same application. Once they log out I would like them to go back to www.mysite.com.
Is this possible? I would assume so but I have not found any information on this setup specifically.
I can see that it is possible to use sub-domains in MVC with more than one application but I do not wish to create two applications since all the functionality is contained within this one.