404 Error when accessing website

October 5, 2017 855 views
Ubuntu Apache Python

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

1 Answer

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

Have another answer? Share your knowledge.

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