when I was trying to debug a website with host header, was getting an authentication error message, after much of googleing I couldn’t find a solution to this problem until one of my colleague pointed me to the MSDN Blog where Joe Cartano has blogged about this solution. He also explains the cause for this problem. Click here( Visual Web Developer Team Blog ) to go this blog