I use different domain names. I have www.mydomain.com for the live server site, and dev.mydomain for my local development sites
Then in my hosts file, i have the line: 127.0.0.1 dev.mydomain for each client site i have. With apache, the local dev versions and remote server versions behave in an identical manner Cheers Mike Kear Windsor, NSW, Australia Adobe Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion 9 Enterprise, PHP, ASP, ASP.NET hosting from AUD$15/month On Thu, Feb 24, 2011 at 9:21 PM, Rick Faircloth <[email protected]> wrote: > > Ok... thanks Mark and Eric > > We need a better solution available to developers > to be able to switch between local and server DNS. > > Perhaps, a switch of some kind that could be inserted > into a URL to tell a browser to use a local hosts file > if that switch is present. > > http://local/www.xyz.com > or > http://l:www.xyz.com > > That would certainly be a *lot* easier than constantly > editing that hosts file. > > But it's good to know that I can use a local DNS file > that way! > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:342551 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

