set each of your sites to use "dev.yourdomain.com"

run notepad as administrator
now open the file c:\windows\system32\drivers\etc

at the bottom of this file enter

127.0.0.1 dev.yourdomain.com

repeat for additional domains

and save the file.

all the domains you have entered here will now resolve to your local machine


On Mon, Mar 26, 2012 at 10:57 PM, Matt Quackenbush <[email protected]>wrote:

>
> Bind to 127.0.0.1 instead of your standard public-facing IP like on the
> server.
>
> Or, just bind to *:80. That should work as well.
>
>
> On Mon, Mar 26, 2012 at 4:52 PM, Nick Gleason <[email protected]
> >wrote:
>
> >
> > Hi there.  So, I took the plunge and upgraded to Windows 7 and got IIS
> > installed.  So far so good.  I've set up a web site in IIS to use for
> this
> > purpose, but the tricky part has been getting it to display through a
> > browser.  When we user our remote servers, we assign a site to an IP and
> > add
> > one or more host headers so that requests through a browser will resolve
> > correctly.  But, that doesn't seem to be the right scenario with a
> locally
> > deployed site.  I'm searching online but if anyone can suggest how best
> to
> > configure a local site in IIS, that would certainly be appreciated.
> >
> > Best,
> >
> > Nick
> >
> > > -----Original Message-----
> > > From: Russ Michaels [mailto:[email protected]]
> > > Sent: Sunday, March 25, 2012 2:14 AM
> > > To: cf-talk
> > > Subject: Re: url path problem when running a CF site on my local
> > > computer
> > >
> > >
> > > you need to put your website in the root and not inside a test folder
> > > so that your links work.
> > > Otherwise you will need to make your links relative to the page they
> > > are on or include /text/ in the link, which is not really a good
> > > solution.
> > > If you are running windows 7 then you get the full version of IIS7 for
> > > free so wont have any such problems.
> > > Download the web platform installer and use this to install IIS and
> > > other useful components.
> > >
> > > If you are on windows XP then you can use IIS 6 but it is limited to 1
> > > site, so you would be better off using Apache.
> > >
> > > Or if you want to get rid of the hassle of running a local dev server
> > > altogether then try www.cfmldeveloper.com
> > >
> > > --
> > >
> > > Russ Michaels
> > >
> > > www.bluethunderinternet.com  : Business hosting services & solutions
> > > www.cfmldeveloper.com        : ColdFusion developer community
> > > www.michaels.me.uk           : my blog
> > > www.cfsearch.com             : ColdFusion search engine
> > > **
> > > *skype me*                     : russmichaels
> > >
> > >
> > >
> >
> >
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:350552
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to