Question

404 Error when accessing website

I followed every step in this tutorial: https://www.digitalocean.com/community/tutorials/how-to-deploy-a-flask-application-on-an-ubuntu-vps

But when I try to access the site via IP I get the following error: Not Found The requested URL / was not found on this server. Apache/2.4.18 (Ubuntu) Server at #MY IP# Port 80

Can you help me fix this? Thank you very much

Subscribe
Share

Submit an 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.

Hello,

I tried following the steps at my end and it worked as normal.

I believe that there might be some misconfiguration in your Apache config. If you wish you could share your apache’s config files here so that I could try and advise further.

Regards, Bobby