configure apache for home server - 2 websites

Discussion in 'Apache' started by pgmm, Jan 24, 2010.

  1. #1
    I continually time out on attempted connection from a different machine.
    I now have about 200 different combinations that don't work and any help7pointers might save me from a nervous breakdown.

    Using trace appears to resolve correctly to the DNS server (afraid.org)

    My config file has these entries
    Listen (my actual IP address):80

    ServerName (my actual IP address)

    DocumentRoot "/usr/local/apache/htdocs" (This directory contains a directory for the web site and a simple index file)

    <Directory "/usr/local/apache/htdocs">
    #
    Options Indexes FollowSymLinks
    #
    AllowOverride None

    Order allow,deny
    Allow from all

    </Directory>

    THEN ACCEPT ALL DEFAULTS UNTIL....

    <VirtualHost *>
    ServerName www.schoolrun.net
    #Other directives etc.....
    </VirtualHost>

    <VirtualHost *>
    ServerName www.schoolrun.net
    #Other directives etc....
    </VirtualHost>

    Clearly I have misunderstood something in the documentation and I would be very grateful for a pointer that will help me out of my current difficulties.

    Thanks for reading
    Peter
     
    pgmm, Jan 24, 2010 IP
  2. pgmm

    pgmm Peon

    Messages:
    15
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Fixed thanks. If anybody has the same problem they can contact me at
     
    pgmm, Jan 25, 2010 IP