Angular 6 project displays 404 error after refresh
Refreshing my angular page gives me a 404 server error, it does the same if I manually navigate to directory in the search bar. I am hosting through an IIS Server. This problem only occurs whenever I build my angular project with ng build --prod and then upload it to my web server. Many people say you should use the hash method, but I don't want a hash to be displayed inside my url, and it's a very old method. Some people also say I should change my <base> tag in my <head> , but that hasn't worked. Here's my <head> tag from my index.html if it is helpful. <head> <!-- META DATA --> <meta