Using WAMP, accessing website from Internet I get a WAMP configuration page??

Posted on 2011-10-21
Last Modified: 2012-05-12
I am trying to help a client with a website setup by an employee who no longer works there. The site is on an internal "server" running WAMP. They used a free dns redirect to point a domain name to the company's public static IP. It's been working like a champ for years. (The free dns service was, which was acquired by They sent notices by email that no-one saw b/c employee was gone. Now Dyndns controls the dns for the domain and we can't contact them in any way because we don't have a paid account)

SO... I used another domain name and created "" and had the hosting company point web requests to the public IP. (the router is properly set up to forward port 80)

-The site (a front end for a database) is accessible from the LAN side using "" because we have manually entered that name into host files on the local PCs.
-"" points to in the hosts file.
-but if I enter "" or "" in a web browser on a local PC I get this WAMP configuration type of page. (I'll attach a picture)
-I also get that "WAMP page" when I use the new ""  OR when I use the public IP address. (I've tried to add port 80 ":80" to the end of the ip address also.

So, to sum up, I know the site is running because it's accessible from the LAN side using the hosts file and old domain name. But if I use the new domain from the WAN side, or WAN IP from outside or LAN IP from inside, it doesn't work.
Question by:RickNCN

    Author Comment

    WAMP config page comes up instead of our website
    LVL 19

    Accepted Solution

    I'm not familiar with WAMP, but being a LAMP guy, I think I know what is happening.  Apache needs to know for any given site (if its not the "default" site on that machine) what names it will be accessed by.

    So you will need to open httpd.conf (or whatever the WAMP equivalent is) on the server side, and find the VirtualHost for this site and add "ServerAlias" to that host and restart Apache.

    This is pretty much the reason it doesn't work by IP either - if you're doing name-based virtual hosting, you have to access each site by its name.  The exception is that (this is true in the Unix environment, anyway) generally the FIRST listed host, or the standard DocumentRoot will be what gets displayed when accessing the system by IP.  If the system DocumentRoot doesn't contain any content (like an index.html) then you will see the generic Apache screen, which is what I believe you're seeing the WAMP equivalent of.


    Author Closing Comment

    Bingo! That did it. Simple as can be. I knew I was missing a little part. Not being familiar with it I probably wouldn't have found it. Thanks
    LVL 19

    Expert Comment

    You're most welcome, and for what its worth, that is not obvious - a lot of people stumble on it.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    Article by: kevp75
    Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
    Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…

    779 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

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now