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!
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!
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/.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.