I create test project on asp.net 5 RC1.
Build and run on IIS Express
Publish by file system
Create new application in "Default Web Site" http://localhost/asp5
Enable log in wwwroot\web.config
Get 404 error in browser http://localhost/asp5
In log Now listening on: http://localhost:29715
I can open http://localhost:29715 in browser
In log present error
info: Microsoft.AspNet.Hosting.Internal.HostingEngine[1]
Request starting HTTP/1.1 GET http://localhost/asp5
info: Microsoft.AspNet.Hosting.Internal.HostingEngine[2]
Request finished in 0ms 404
Why IIS not redirect http://localhost/asp5 to http://localhost:29715 ?