[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

WAMP Apache resolves to localhost but not IP address

Posted on 2013-10-30
2
Medium Priority
?
870 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
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…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses
Course of the Month13 days, 19 hours left to enroll

656 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