First of all, my question is not about how to install angular. I'm just getting started with this framework and already got a question right at the beginning.
Usually I create new web projects (HTML, PHP...) in the default web folder of the apache webserver (/var/www/
). I did this with angular too under /var/www/firstAngularProject
, but it seems the application itself is only accessible on its default port on the webserver root. In my case this is localhost:4200
When I try to open the path in my browser localhost/firstAngularProject
I see the index structure and I think this could become a security issue.
So my question is where should I install the angular project or what is the usual way to install it?