Moved Project To Linux, Having Problems With Route

We have moved the project to linux, i have changed the storefront configurations now the redirects are fine but it does not find any of the routes. Is there anywhere else that i need to configure for this?
It seems that links are broken after we switch to ubuntu server 18 from xampp. My admin is working except that the routes are broken.