Link to home
Create AccountLog in
Avatar of Paul Konstanski
Paul KonstanskiFlag for United States of America

asked on

Angular 7 Folder Access Does Not Work

I have an Angular 7 Website that I developed on my local machine that works fine when I do a direct link to a page on my localhost.

http://localhost:4200/signin

But when I then deploy the site to a public server, the site only works when I go to the root.

This Works:
http://makeyourlifecount.org

This Does NOT Work!
http://makeyourlifecount.org/signin

I get an error message on the NOT work link that reads:

Not Found
The requested URL /signin was not found on this server.
Apache/2.2.34 Server at makeyourlifecount.org Port 80

I am not sure where to begin looking to try to solve the problem. There is no .htaccess file on this server. Do I need one?

Why would the direct access work on my local machine and not on the public server. Thanks.
ASKER CERTIFIED SOLUTION
Avatar of Paul Konstanski
Paul Konstanski
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer