I don't know if question in the title was clear enough.
Let's say that you have 2 or N domains pointing on the same ip address, your server (in my case Windows Server with IIS) and you want to make custom site for every domain name so you have to detect which domain is user currently using.
There should be two "custom sites". One is Administration aplication site with just one domain name pointing on it, and the other is aplication that handles multiple domain names and based on it displayes different sites.
Good example is shoutem network. At http://www.shoutem.com/ is administration page and aplication instances are http://zrikka.com/ and http://punkt.com.hr, separate aplication that handles different domain names.
Is it possible?