If I'm hosting multiple sites on a server, and a dns server resolves the different domainnames to the same address, (which is the server's name), how does IIS know eventually which site is requested?
So a client types the address of my 1. site -> myrandomsite.mydomain.com
Then another client types -> anotherrandomsite.mydomain.com
The DNS server resolves both of these to -> myserver.mydomain.com. So what happens then on the server?