Firefox redirects VS2008 web pages to www.localhost.com

Fix this problem by setting your hosts file entry “::1 localhost” to “:::1 localhost” (i.e. add an extra colon at the beginning of the line).

I found this solution at http://bvencel.blogspot.com/2008/05/aspnet-development-server-problems.html