Angular application 404 error in Hostinger

Discussão em 'Angular' iniciado por user19614803, Março 23, 2025.

  1. user19614803

    user19614803 Guest

    My application is working fine in local for all routes and sub routes, But when i deploy it to hostinger i am getting home page only, Routing to sub pages are not working like below

    "http://www.example.com" is working
    "http://www.example.com/careers" not working getting 404 error


    in local

    localhost:4200 and localhost:4200/careers is working fine


    In hostinger i am not having .htaccess or web.config files is that the problem, If it is the problem any reference to add them

    Continue reading...

Compartilhe esta Página