[LUNI] virtual hosts on DHCP

From: Sten Turpin (sten@narnia.net)
Date: Tue Mar 13 2001 - 09:15:45 CST

  • Next message: Herbie Herbert: "RE: [LUNI] Impossible Install on Thinkpad i 1300 1171 61u"

    Hey, all.

    I can't find info on what I'm trying to pull with my home PC. Basically, I
    want to have my webserver serve up subdomains, but I'm on a private
    IP range with assigned by my firewall/NAT/DHCP box, so I'm having trouble
    figuring out what to use for the VirtualHost section of my httpd.conf. As
    it is now, I've got

    NameVirtualHost my.private.ip.addy

    <Virtual Host my.private.ip.addy>
            ServerName mydomain.org
            DocumentRoot /www
    </VirtualHost>

    <VirtualHost my.private.ip.addy>
            ServerName subdomain.mydomain.org
            DocumentRoot /www/subdomain
    </VirtualHost>

    I picked up a D-Link home gateway, so it's not a box I can reconfigure to
    use a static private IP; even if it were, do I use the private IP or the
    public? I've tried it both ways, to no avail.

    If I hit mydomain.org or subdomain.mydomain.org, I get /www/index.html.
    Any ideas?
    Thanks!
    -Sten

    -------------------------
    ...like shooting fish in a barrel- with a $300 billion annual budget.

    -=-
    Linux Users Of Northern Illinois: General Discussion Mailing list.
    For unsubscription, archives, and announcements only see http://luni.org



    This archive was generated by hypermail 2b29 : Tue Mar 13 2001 - 09:16:32 CST

  •