Page not found create-react-app

I am facing ‘Page not found’ problem.

My website name:

The app was created with create-react-app and is using API endpoint.

netlify.toml contains:
from = “/*”
to = “/index.html”
status = 200

and to redirect to API:
from = “/videos”
to = “
status = 200

What can be a problem here?

Hello @reytiartur, thanks for the post and welcome.

Kindly use an _redirects file instead inside the /public folder like /public/_redirects.
After the code should look like the below.

/* /index.html 200 301! should be the the domain you want to redirect from.

Let me know the outcome.


Hello. Thank you for your answer.

If I understood right - I’ve changed to the hard-coded fetch call’s address.
Still have same problem.

Hi @reytiartur, thanks for the feedback.
Kindly share the repository of your site if possible for me to help with the debugging.


Here is the link to repo:

The site was deployed from /client folder.

Hello @reytiartur, thanks for sharing the information.
Kindly make sure your build settings are similar to the image below

Your site should display as expected after you redeploy.

Let me know the outcome.


1 Like

Thank you. It did help in a way, but seems like I still can’t redirect my fetch

calls to new endpoint, right?

Hi @reytiartur, you are using localhost for Netlify domain redirects. localhost cannot be used for Netlify domain redirects.

For more information about domain redirects, kindly check the link below.