Apache installed, no directory?

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

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.

1 Answer

Hi @avi24

Is there a special reason why you’re following the Ubuntu 14.04 tutorial instead of 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...
  • Ah, found it!

    That was the wrong link I copied. It was supposed to be the 16.04 one, my bad.

Have another answer? Share your knowledge.