Link to home
Start Free TrialLog in
Avatar of Letterpart
LetterpartFlag for United Kingdom of Great Britain and Northern Ireland

asked on

WAMP Apache resolves to localhost but not IP address

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.
ASKER CERTIFIED SOLUTION
Avatar of arober11
arober11
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Letterpart

ASKER

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.