?
Solved

WAMP Apache resolves to localhost but not IP address

Posted on 2013-10-30
2
Medium Priority
?
831 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 26

Accepted Solution

by:
arober11 earned 2000 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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

In my time as an SEO for the last 2 years and in the questions I have assisted with on here I have always seen the need to redirect from non-www urls to their www versions. For instance redirecting http://domain.com (http://domain.com) to http…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses
Course of the Month8 days, 23 hours left to enroll

764 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