Can't see my files on browser

May 11, 2016 2.3k views


I recently started using Digital Ocean and I have one problem. When I put my files into var/www and then visit my ip, it doesn’t show anything. What could cause this problem?


2 Answers

Have a check at the default web root path from /etc/apache/sites-available/000default.conf

  • This is the correct answer. Recent versions of Ubuntu now use /var/www/html as the public web root rather than /var/www

I don’t know if this is right but could PHP be the problem? Index is .php

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!