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

October 27, 2014 76.9k views

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 ?

4 comments
8 Answers

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.

How do you move it?

  • Moving Files

    Directory: $ cd /var/www/
    Command: $ mv info.php html

    In the browser, enter yourip/info.php and good.

it still didn't work I am going to delete that server.

HjhgfyfuftcjdudygugyfjdjfuvybyfygrgffdfrftfftftfycyfbfyxtctvdycfvfbghfyfhfybdcureqtyiokbvfssfchvjgjhhhbhdgxbfhfjchfjffjgyfbggchxdeqwfhukbhchxgxhxfdgrffrffycgfhffhfthcufvgyigyhhhhujgiuiuijvynghhrhfjhgufvhdewjkpnczhvgvcvchdhcgfjipofittvhfgdhctegfrdvdfgxhtyctxeaqtsssrzfwrstadtsfeQwfghczchbdetuhihfyygftyyydhfgfyfuydhtyfgyythfdgtfrdgcfgxgvbycduibcgjvvcxxxxtftgfyryxrgdygdygtutequipirwy

[Example link](http://)******1. Item 1

  1. Item 2
  2. Item 3[Example link](http://)1. Item 1
  3. Item 2
  4. Item 3* Item
  5. Item1. Item 1
  6. Item 2
  7. Item 3[Example link](http://)
Have another answer? Share your knowledge.