Question

Apache installed, no directory?

Hi guys,

So I followed this tutorial, https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-14-04 on how to setup a site and I followed every single step. I then proceed to login to my account via FileZilla to upload some of my website files. When I login, it only shows folders like .cache and other files starting with dots.

When I go to my website, it comes up with the Apache2 default page.

So basically when I login, I cant find /var/www/html/index.html in order to replace it with my own version. Would this be because my domain DNS settings haven’t changed yet? I changed them about an hour ago.


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.

Accepted Answer

Hi @avi24

Is there a special reason why you’re following the Ubuntu 14.04 tutorial instead of 16.04? https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-16-04

Which user are you using to login with in FileZilla? I guess you used root when logging in to the PuTTY/terminal? It sounds like you’re located in a user directory, because that’s usually where you find a lot of dot files and directories. You then have to browse to /var/www/html (if the user you’re using has rights to do that)

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Become a contributor for community

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

DigitalOcean Documentation

Full documentation for every DigitalOcean product.

Resources for startups and SMBs

The Wave has everything you need to know about building a business, from raising funding to marketing your product.

Get our newsletter

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.