Yep... exactly what I finally figured out.
-----Original Message----- From: Russ Michaels [mailto:r...@michaels.me.uk] Sent: Wednesday, March 02, 2011 12:31 PM To: cf-talk Subject: Re: I think I'm confused... I haven't read the rest of this thread, but I agree with Dave, editing the hosts file is so simple it really doesn't need any other solution.. Where most people fall down is trying to use the same domain for their dev site, staging site and live site, which means you have to remember to keep editing your hosts file or you will be looking at the wrong server. There really is no reason for this as it just makes life difficult, a bit of common sense prevails here, just use a different sub-domain for each site. So stick to a naming convention like "dev.thedomain.com" for all your local dev sites and "staging.thedomain.com" and you will never had to use more than 1 line of text for each site. you cannot get much simpler than this in your hosts file 127.0.0.1 dev.mydomain.com staging.mydomain.com simples.... On Wed, Mar 2, 2011 at 5:01 PM, Dave Watts <dwa...@figleaf.com> wrote: > > > We need a better solution available to developers > > to be able to switch between local and server DNS. > > There are several tools out there to let you manage your hosts file, > but frankly it's pretty easy to just keep it open in a text editor, > and keep a command prompt open to flush your DNS after each change. > > Dave Watts, CTO, Fig Leaf Software > http://www.figleaf.com/ > http://training.figleaf.com/ > > Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on > GSA Schedule, and provides the highest caliber vendor-authorized > instruction at our training centers, online, or onsite. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342707 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm