{"action":"closed","issue":{"url":"https://api.github.com/repos/aspnet/Mvc/issues/2148","labels_url":"https://api.github.com/repos/aspnet/Mvc/issues/2148/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Mvc/issues/2148/comments","events_url":"https://api.github.com/repos/aspnet/Mvc/issues/2148/events","html_url":"https://github.com/aspnet/Mvc/issues/2148","id":60526957,"number":2148,"title":"Custom/Detailed Errors on IIS","user":{"login":"Bartmax","id":3386797,"avatar_url":"https://avatars.githubusercontent.com/u/3386797?v=3","gravatar_id":"","url":"https://api.github.com/users/Bartmax","html_url":"https://github.com/Bartmax","followers_url":"https://api.github.com/users/Bartmax/followers","following_url":"https://api.github.com/users/Bartmax/following{/other_user}","gists_url":"https://api.github.com/users/Bartmax/gists{/gist_id}","starred_url":"https://api.github.com/users/Bartmax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bartmax/subscriptions","organizations_url":"https://api.github.com/users/Bartmax/orgs","repos_url":"https://api.github.com/users/Bartmax/repos","events_url":"https://api.github.com/users/Bartmax/events{/privacy}","received_events_url":"https://api.github.com/users/Bartmax/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-10T16:23:24Z","updated_at":"2015-03-10T16:50:40Z","closed_at":"2015-03-10T16:50:40Z","body":"Right now, on MVC6 project, for displaying detailed errors I included a web.config with :\r\n```\r\n<configuration>\r\n  <system.web>\r\n    <customErrors mode=\"Off\" />\r\n  </system.web>\r\n</configuration>\r\n```\r\n\r\nis this still the recommended approach to configure IIS or will be/are other way to specify these settings.?\r\n\r\nI have the same question for domain.com redirect to www.domain.com\r\n"}}