Report this

What is the reason for this report?

Page Not Found (404) with Next.js Static Website

Posted on October 28, 2024

Hi - I have a Next.js static site which works OK when developing locally but having deployed it to the App Platform it just comes up with a 404 error. I’m new to this so not sure where to start.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Heya,

Do you see any error logs? Also, check the following link, I think it can actually help in your situation:

https://docs.digitalocean.com/products/app-platform/how-to/url-rewrites/

Hola! lo solucionaste? me pasa lo mismo

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.