ogabob11
By:
ogabob11

Index.html not loading unto browser

January 15, 2016 832 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!

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

Have another answer? Share your knowledge.