Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm running WAMP which was working fine the other day. Today I tried connecting to 127.0.0.1 and my browser throws a 404. Both firefox and chrome. My hosts file is correct mapping 127.0.0.1 to localhost.

I can telnet to both the IP and localhost port 80 and see a response from apache.

When I go to localhost I see the WAMP landing page. I can go to localhost/folder and view the applications just fine.

What can be causing the 404's when I go to 127.0.0.1?

share|improve this question

closed as off topic by Michael Hampton, TheCleaner, HopelessN00b, John Gardeniers, Ward Dec 2 '12 at 16:19

Questions on Server Fault are expected to relate to professional server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

add comment

1 Answer

up vote 1 down vote accepted

Are you using a named virtual host called "localhost"? If so, you'll need to access it via the name specified in the config file.

share|improve this answer
    
Forgot I had a few virtual hosts along with one named localhost, deleted all the virtual hosts restarted apache and it's working fine. I'm just wondering why it was working before now and stopped –  Anagio Aug 31 '12 at 1:44
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.