soduno
By:
soduno

Apache2 Default root directory

August 13, 2016 773 views
Apache DigitalOcean Ubuntu 16.04

I am facing some issues with Apache2. I have installed the full LAMP stack, which is working fine together with virtual hosts/domains.

But when I try to edit the default ("000-default.conf") document root directory, the Apache2 Ubuntu Default Page is always showing. I have tried to restart the apache2 service, and I even tried to remove index.html page, located at var/www/html/index.html (which seems to contain the default file) but no luck. The Default Apache2 Ubuntu page always shows up, when I enter the IP of the server.

Any ideas why this might happen?

1 comment
1 Answer

Without seeing your configuration it would be very difficult to troubleshoot it. The fact that pages continue to show up after you have deleted them (to the best of my knowledge there is only a single copy of the default index.html file) I would check that your local cache is cleared in your browser and that the network you are on is not doing any caching of it's own as a cache storing a static copy of the site somewhere between you and it sounds like the most likely reason for what you're seeing.

Have another answer? Share your knowledge.