I do IT/programming for a website that has been running for a couple of years. Recently, We've been working on creating it a sister site, that does different (but related) things, with the idea that the two sites will share a database, some library code, and login information. The two sites will be running under different domains, but on the same server. When a user is logged into one site, they are also logged into the other.
The sister site is pretty near to going live, but I am worried there will be complications involved with this. In testing, the site has been developed alongside the existing codebase to the original site. The original site has had pages like Default.aspx, while the other site has had pages like DefaultPro.aspx, with the pages in the same folder. Both sites have been running under the same local domain.
I now need to work out how to prise these two sites apart for deployment. What is the best way to do this? How should I structure the sites in iis, and will any issues arise from having a shared login system working on different domains? I'll obviously do some experimentation on a spare server before deploying, but I want to know if there is anything to watch out for.