0
I published the Angular project on a machine with IIS, but when I try to access the link with a route directly shows error 404, example "http://meusite.com/appiis/login" but access the url "http://meusite.com/appiis/" it loads normally, and if it is not logged in the system redirects correctly to login, I can navigate any route normally through the angular, but the problem only occurs when I go directly through the browser. Is there any configuration in IIS or Angular that allows you to access the routes directly from the browser?
I was able to make it work, thanks for the north, with the help of tutorial https://blogs.msdn.microsoft.com/premier_developer/2017/06/14/tips-for-running-an-angular-app-in-iis/ I was able to solve the problem
– Lucas Riechelmann Ramos