Solved

WAMP Apache resolves to localhost but not IP address

Posted on 2013-10-30
2
764 Views
Last Modified: 2013-11-15
Hi,

I'm running WAMP 2.4 on a Win 7 machine and while it resolves to localhost if I type the IP address into the browser I get 404 not found.

I also can't see Apache from other machines on the LAN although when I scan the port it shows:

HTTP/1.1 404 Not Found..Date: Wed, 30 Oct 2013 12:08:19 GMT..Server: Apache/2.4.4 (Win32) PHP/5.4.16..Connection: close..Conten

So it's definitely spotting Apache on 80

In my http.conf I've added "Allow from all" to

DocumentRoot "e:/wamp/www"
<Directory "e:/wamp/www">
 
/~~~~~
</Directory>

and Apache is listening on 80 rather than a specific IP.

My Windows Firewall is off.

Have I missed anything really basic?


Thanks.

Ok...


I've just change my VirtualHost setting from:

# Digital Essence Vhost configurations
<VirtualHost *:80>
    ServerAdmin localhost.admin
    DocumentRoot "E:\wamp\www"
    ServerName localhost
</VirtualHost>

to

# Digital Essence Vhost configurations
<VirtualHost *:80>
    ServerAdmin localhost.admin
    DocumentRoot "E:\wamp\www"
    ServerName 192.168.19.15
</VirtualHost>

and I can now see it both locally and on the lan.
0
Comment
Question by:Letterpart
2 Comments
 
LVL 26

Accepted Solution

by:
arober11 earned 500 total points
ID: 39612992
Have you got a:

Listen 80

or:

Listen 192.168.19.15:80

entry outside of the Virtual host definitions?

If not add one and restart Apache.
0
 
LVL 1

Author Comment

by:Letterpart
ID: 39650622
Hi,

I managed to fix this but can't remember how as it's been more than a few weeks and my goldfish brain has a terrible memory.

I'm going to award you the points anyway as you took the time to reply which I appreciate.
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As Wikipedia explains 'robots.txt' as -- the robot exclusion standard, also known as the Robots Exclusion Protocol or robots.txt protocol, is a convention to prevent cooperating web spiders and other web robots from accessing all or part of a websit…
Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question