How IIS identify SharePoint site and ordinary website?
Suri meenakshi Sundaram
http://msdn.microsoft.com/en-us/library/dd583133(office.11).aspx