SharePoint doesn't redirect to /Pages/default.aspx

Suddenly , SharePoint stop redirecting to /Pages/Default.aspx if the user don't write the complete URL. For example if the user request only the domain name https://test without /pages/default.aspx it will ask repeatedly for login with no success.

Fix:

  1. Make sure AAM is configured rightly
  2. Make sure Everyone has read-only permission in the following folder C:\inetpub\wwwroot\wss\VirtualDirectories\web application (also make sure \_app_bin has the same permission)