Amal Antony
Amal Antony

Reputation: 6807

I'm not able to access localhost on my linux m/c running Apache/2.2.14 (Ubuntu)

Accessing http://localhost or http://127.0.0.1 gives me a 404 URL not found error. This is in spite of me having apache 2.2.14 running on my PC (the apache process is started). Any help in this regard will be appreciated. Thank you!

Upvotes: 0

Views: 2854

Answers (1)

Andy
Andy

Reputation: 2140

If you're getting a 404 not found it means that the server is running but can't find the document you're looking for.

If you look in your Apache config file you'll find a setting for "document root". Place a file called "index.html" in that directory.

This usually defaults to /var/www on Ubuntu.

For more info you can check the Ubuntu community site

Upvotes: 1

Related Questions