Re: [LUNI] virtual hosts on DHCP

From: Jeff Norton (jnorton128@ameritech.net)
Date: Tue Mar 13 2001 - 13:47:46 CST

  • Next message: trent: "Re: [LUNI] ANN: CLUG Meet (Was: Re: When is the next meeting of CLUG?)"

    Use smoothwall, This will give you a firewall and you can use the dhcp in
    that to assign your local ip's. Smoothwall can also be configured to portfwd
    which is alot better than ip forwarding. If you need help call me
    312-953-6195. We just completed the scripts very similar to your situation
    at a local college and it works great!!!

    Jeff Norton
    www.developersfoundry.com
    For Developers by Developers
    jnorton128@ameritech.net

    ----- Original Message -----
    From: "A. Khan" <knura@yahoo.com>
    To: <luni@luni.org>
    Sent: Tuesday, March 13, 2001 11:23 AM
    Subject: Re: [LUNI] virtual hosts on DHCP

    >
    > --- Sten Turpin <sten@narnia.net> wrote:
    > > 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.
    >
    > It is not clear whether you want to present the virtual hosts on the
    > WAN or just to your LAN. For the latter case, you'll have to setup a
    > DNS (bind) on a system in your LAN. Read the DNS-HOWTO.
    >
    > On the WAN side it would require a similar DNS setup served by a DNS
    > server on the Internet plus port forwarding on the NAT box, if you had
    > a static WAN IP. This may not be easy with the dynamic nature of your
    > WAN IP.
    >
    > --
    > Arun K.
    >
    > __________________________________________________
    > Do You Yahoo!?
    > Yahoo! Auctions - Buy the things you want at great prices.
    > http://auctions.yahoo.com/
    > -=-
    > Linux Users Of Northern Illinois: General Discussion Mailing list.
    > For unsubscription, archives, and announcements only see http://luni.org

    -=-
    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 - 13:48:48 CST

  •