Apache Virtual Hosts

From: Rich Grise (rich_at_example.net)
Date: 12/24/04

  • Next message: Davide Bianchi: "Re: Apache Virtual Hosts"
    Date: Fri, 24 Dec 2004 18:45:17 GMT
    
    

    I've got these three domain names, neodruid.com, neodruid.net, and
    neodruid.org. I have a computer on a dynamic IP, so I'm using
    http://www.zoneedit.com dynamic DNS server; all is well.

    Except for the fact that I've only got the one IP.

    But it looks like I _should_ be able to bring in three names
    on one IP, using virtual hosts.

    First, is it even possible?

    www.neodruid.com 4.11.176.232 \ / www.neodruid.com
    www.neodruid.net 4.11.176.232 >--- apache ---< www.neodruid.net
    www.neodruid.org 4.11.176.232 / \ www.neodruid.org

    The latest and greates try, I've got

    NameVirtualHosts *:80

    and then

    <VirtualHost *:80>
       ServerName www.neodruid.com
    ...
    </VirtualHost>

    <VirtualHost *:80>
       ServerName www.neodruid.net
    ...
    </VirtualHost>

    <VirtualHost *:80>
       ServerName www.neodruid.org
    ...
    </VirtualHost>

    and the latest error message is:
    [crit] (98) Sddress already in use: make_sock: could not bind to address
    4.11.176.232 port 80

    And this is about the fourth permutation I've tried in the conf. file.

    So, is it actually possible, or do they have to be like

    daphne.neodruid.com
    thunderbird.neodruid.com
    forum.neodruid.com

    and that sort of thing? (notice same FQDN)?

    Thanks for any insight here.

    Thanks!
    Rich


  • Next message: Davide Bianchi: "Re: Apache Virtual Hosts"