Question

Index.html not loading unto browser

Posted January 15, 2016 1.5k views
DigitalOcean

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!

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.

1 answer

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

Submit an Answer