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

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.

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/.