Search code examples
pythonflasknetlify

Python - Netlify Page not found error 404 even when the site is built without any error


I have made a flask web application and wanted to host it with netlify. When I try to preview/open my site , page not found error rises.

My site is deployed successfully! I read through other documentations but still the problem was not resolved. I have my index.html also included in my application

Link to my Github repository = https://github.com/PranaySadani/PredictX

Please tell me what I should do to resolve the issue at hand!


Solution

  • Netlify can only serve static web pages, which is not the case when you are using flask (with sign in and sign up functionality with database), you might want to check out other services like Heroku.