[Novices] All About Hosts
Kevin Wixson
kevin at wixsonit.com
Mon Jan 17 03:05:52 EST 2005
Thanks Adam.
If I set up a DNS server, I'm afraid there might be complications
related to my Internet connection. I use (unfortunately) Direcway
satellite. The modem only works with Windows via USB. Therefore, I have
to have Internet Connection Sharing (ICS) enabled on a Windows 2000
Professional computer. The web server wouldn't necessarily be on all the
time. So, in order for this to work, wouldn't I need a real DHCP server
with one of the DNS listings pointing to a box that may or may not be
on? The DHCP server would pretty much have to be this not-always-on
Linux box, too. So, what kind of trouble am I getting myself into?
Should I just use the HOSTS file, given this, or is everything going to
be A-Okay with a sometimes there, sometime not, server of many things?
-Kevin
Adam Tauno Williams wrote:
>>In Windows, I'd set up the DNS server and configure the zone records, maybe
>>assign multiple IPs to the one server NIC, and set up virtual hosts in IIS.
>>No problem. Been there, done that. With Linux, is this the best approach?
>>
>>
>
>Yes, create a DNS domain; best of with a local root like ".myhome".
>Then configure virtual hosts. In SuSe I believe you can do this via
>Yast.
>
>
>
>>Been reading all night and it looks possible to ...
>>1.) Configure the NIC with multiple IPs
>>
>>
>
>Yep, it is called aliasing.
>
>
>
>>2.) Configure Apache to listen on those IPs, yes? And Apache would serve
>>any port 80 request that resolved to one of the NIC's IPs with the proper site?
>>
>>
>
>Yep, I believe apache listens to all interfaces by default.
>
>
>
>>3.) Configure the HOSTS file on my Windows machine (where I do my web
>>design) to map to the IPs on the NIC on the web server.
>>
>>
>
>You could do that, or just create a DNS domain.
>
>
>
>>Is there a way to set up the web server machine so that I wouldn't have to
>>configure the HOSTS file on the Windows machine?
>>
>>
>
>Create a DNS server on the Linux box and configure the zones.
>
>_______________________________________________
>Novices mailing list
>Novices at kalamazoolinux.org
>http://www.kalamazoolinux.org/mailman/listinfo/novices
>
>
>
More information about the Novices
mailing list