So I defined some routes /home, /contact, ...
Created the dist folder by using ng build --prod --base-href
and copied the content of the dist folder via filezilla to the hosting server. When directly browsing the website and redirecting from on the website there is no problem but if you directly browse to website/home, it says 404 Not Found The requested URL /home was not found on this server
.
The hosting support responded with these are probably CleanURL's defined in a .htaccess file we can't give support for that.
I thought that clean urls were readable restcalls but maybe the meaning is greater than only rest. But is there a solution for this?