Question

Apache installed, no directory?

Posted July 19, 2017 2.3k views
Ubuntu Apache LAMP Stack DNS DigitalOcean Articles

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.

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.

1 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)

by Brennen Bearnes
A "LAMP" stack is a group of open source software that is typically installed together to enable a server to host dynamic websites and web apps. This term is actually an acronym which represents the Linux operating system, with the Apache web server. The site data is...
Submit an Answer