It's us usually easier to set up a virtual host then have to go through the
whole apache config and change settings.  I usually leave the default
settings alone, and set all the sites up as virtual hosts.  It also allows
you to separate different projects properly (ie. Proj.sitename.com instead
of 127.0.0.1/proj1, 127.0.0.1/proj1, etc.).   

You don't actually need DNS to have multiple sites.  If you're just
accessing things from the local machine, just modify your hosts file and add
what you would like your domains to be and point them to 127.0.0.1, and set
them up in apache as a virtual host. 

Russ

> -----Original Message-----
> From: Jeffrey [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 05, 2007 10:06 AM
> To: CF-Talk
> Subject: why "Named Virtual Hosts" in apache??
> 
> Hi everyone,
> 
> I just set up my workstation and I used the S. Collins ACME Guide.
> 
> Great resource, but I'm not entirely understanding the basic need for
> Named
> Virtual Hosts in Apache? On a development machine why do this?
> 
> In searching the archives of cf-talk, there's not much talk on this, are
> many people using this? Is it so simple there's no need to discuss??
> 
> I've always just used IIS and dumped everything in root and  worked from
> there.
> 
> The ACME guide is written for an older version of Apache, and with 2.2 the
> config file is now different. I'm suspecting that I don't have my setup
> quire right  for using Named Virtual Hosts...any good resources that
> describe this with the newest Apache? I've found some info, but being new
> to
> using Apache, a good simple explanation/example would be most helpful.
> 
> 
> Thank you,
> 
> jeff fongemie
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271532
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to