Results 1 to 3 of 3

Thread: Virtual Hosts

  1. #1
    Join Date
    May 2001
    Location
    Prince Edward Island
    Posts
    964

    Virtual Hosts

    I cant figure this out. the conf reads ( for virtual hosts )

    <VirtualHost *:80>
    ServerAdmin [email protected]
    DocumentRoot /web/control/
    ServerName control2.domain.com
    </VirtualHost>

    <VirtualHost *:80>
    ServerAdmin [email protected]
    DocumentRoot /web/hosted/forums/
    ServerName forums.domain.com
    </VirtualHost>

    <VirtualHost *:80>
    ServerAdmin [email protected]
    DocumentRoot /web/hosted/fishing/
    ServerName fishing.domain.com
    DirectoryIndex index.html, index.php
    </VirtualHost>


    When I goto control.domain.com or forums.domain.com I get the correct site, but when I goto fishing.doamin.com I get the forums.
    [url]I got nothing/url]

    For clarity's sake, don't use "<ip address of hostname>" use the ACTUAL 32-bit numeric IP address of the machine.

  2. #2
    Give me real urls of fishing, and forum, I might figure out .

  3. #3
    Did you do a configuration file test with apachectl?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •