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

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

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

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more
DigitalOcean Cloud Control Panel