Hi,
I'm using Ubuntu 14.04. Have installed LAMP server using this tutorial http://www.n00bsonubuntu.net/content...-ubuntu-13-04/
Installation was successful. Even "Apache2 Ubuntu Default Page" is showing accurately. I can access PhpMyAdmin perfectly. My problem is that, browser can't show any files (php/html), which I'm keeping in the /var/www/ directory.
To test the PHP version and details, I've created a file named "testing.php". Keep that file in the www directory, but my browser is showing "NOT FOUND" !!!
Please check the attached screen shot. This is a really weird problem.
Please help me experts. Thanks in advance.
[SOLVED] Apache default page showing, but others not !!!
Moderator: General Moderators
Re: Apache default page showing, but others not !!!
Apache is probably reading from a different place than /var/www.
What is the contents of all the files under /etc/apache2/sites-enabled?
What is the contents of all the files under /etc/apache2/sites-enabled?
Re: Apache default page showing, but others not !!!
The default page seems to suggest your document root is located at /var/www/html rather than /var/www
Re: Apache default page showing, but others not !!!
Thanks for your great reply. Recently document root is moved to /var/www/html. I didn't know that. My problem is solved now. Thanks for your support. Marking this post as solved.
Re: Apache default page showing, but others not !!!
Unfortunately I'm getting any option to mark this post as solved
. How can I do that?