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.

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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)