can edit virtual hosts successfully, but can't add a new one!

Discussion in 'Apache' started by agentfitz, Oct 28, 2010.

  1. #1
    This really has me baffled! I'm running Apache 2.2 on Windows Server 2003. I can edit existing virtual hosts without a problem, for example, I can change this existing vhost to point to a different document root and it works fine:

    <VirtualHost *:80>
    ServerName existingsubdomain.mydomain.net
    DocumentRoot "C:/Inetpub/wwwroot/mydirectory"
    </VirtualHost>

    But the moment I try to add a new virtual host, it doesn't get recognized! When I try to browse to it in a browser, I get a "Server not found: Firefox can't find the server at newsubdomain.mellemallc.net."

    <VirtualHost *:80>
    ServerName newsubdomain.mydomain.net
    DocumentRoot "C:/Inetpub/wwwroot/mydirectory"
    </VirtualHost>

    Can anyone point me in the right direction as to why this may be happening?

    Thanks,
    Brian
     
    agentfitz, Oct 28, 2010 IP
  2. agentfitz

    agentfitz Peon

    Messages:
    6
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    http://www.linuxquestions.org/questions/linux-server-73/can-edit-apache-virtual-hosts-successfully-but-cant-add-a-new-one-841006/
     
    agentfitz, Oct 28, 2010 IP