Index.html not loading unto browser

I have my index.html file at the /var/www/. I am using SFTP. I uploaded the files via Filezilla. I have also tried using permission of 777 and 755 but my index page is not loading on the browser. Please help!


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.

You haven’t specified which web server or operating system you are using so I will assume that you are running Apache on Ubuntu 14.04 or newer. If this is not the case, let me know.

The default web root for Apache on Ubuntu 12.04 was /var/www but that default has been changed in more recent releases. Current Ubuntu releases include apache with a default web root of /var/www/html If this is the case with your droplet you will need to move index.html to /var/www/html/.