Question

The requested URL /info.php was not found on this server

Hello I create info.php as per the tutorial which is given in DIGITALOCEAN, but when i trying to access that file at that time “The requested URL /info.php was not found on this server”, so what can i do know ?

Show comments

Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hello,

What version of Ubuntu are you running? Can you post a link to the tutorial that you followed?

On newer versions of Ubuntu, the document root is set to /var/www/html instead of /var/www. You might have followed an old tutorial which was written for Ubuntu 12.04. If /var/www/html exists, try moving info.php to it.