[Novices] All About Hosts
Kevin Wixson
kevin at wixsonit.com
Sun Jan 16 02:28:10 EST 2005
Hostnames, Hosts File, Virtual Hosts, Virtual Interfaces....
My problem is this: I want to set up an Apache web server on my private
network as a development server so I can work on web sites without
committing the changes to the live sites. I want to be able to browse to
each different site by Hostname, as in http://aspergers and
http://mavcards, all of which are to be hosted on the same computer. I'm
not married to simple host names. I'd go to http://aspergers.home.com and
http://mavcards.home.com if that got me there.
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?
Been reading all night and it looks possible to ...
1.) Configure the NIC with multiple IPs
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?
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.
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?
Kevin C. Wixson
kevin at wixsonit.com
http://www.revolvingdesign.com
http://www.wixsonit.com
------------------------------------
ICQ#: 10048150
MSN Messenger: kevinkps at hotmail.com
Yahoo Messenger: kwixson99
AIM IM: kwixson99
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.6.12 - Release Date: 1/14/2005
More information about the Novices
mailing list