Andrew,

I think your misunderstanding what I mean.

If you have multiple websites in IIS or Apache, every site must be
unique in order to browse them.
There are 3 ways to do this.

different IP address on each site
different port on each site
different host header on each site

host headers is clearly the easiest and best way to remember the url
for each site, and if you do not use the hosts file to do this then
you are going to need a live IP address and to register real domains,
which would be pretty pointless not to mention a waste of money.

As for the project.
If you have the website at c:\inetpub\wwwroot\mydomain.com
and you have your project at c:\my documents\projects\mydomain.com

This is clearly 2 copies of the files
Perhaps we are talking about different things.


On Wed, Sep 14, 2011 at 11:08 PM, Andrew Scott <andr...@andyscott.id.au> wrote:
>
> Russ,
>
> This is the argument that I had when this was still in the beta stages with
> the engineers.
>
> You DON'T need the virtual hosts when developing locally, or running locally
> at all. The actual reason it is there is actually for remote sites, and even
> then it still can use information that is in the project.
>
> I proved this to the engineers via a connect session.
>
> I never fill this information in and I have sites that are running locally,
> and sites that are running  in VirtualBox. And I still never ever used those
> settings.
>
> That was CFB1, I can no longer get anything to work in CFB 2 when it comes
> to viewing the site. Even if I tell the project to use the index.cfm when
> browsing the site in CFB2, so I just gave up. I tried using this with
> Virtual Hosts as well as mappings like the error tells you too, but nothing
> would work for me.
>
> And you don't need to run two copies of your project/site like you claim
> either...
>
>
> --
> Regards,
> Andrew Scott
> WebSite: http://www.andyscott.id.au/
> Google+: http://plus.google.com/108193156965451149543
>
>
> On Thu, Sep 15, 2011 at 7:59 AM, Russ Michaels <r...@michaels.me.uk> wrote:
>
>>
>> If you are running a local webserver then just set your project root
>> to the wwwroot, this is fine otherwise you would have to maintain 2
>> copies of your project.
>> not everyone runs a local web server, some people will develop a
>> project locally then upload it to a testing server, as you can do with
>> Dreamweaver.
>>
>> you do need entries in your local hosts file otherwise there will be
>> no way for you to browse your local sites, unless you put each site on
>> its own port and use http://localhost:port/ which will just get
>> confusing, much better to use host headers.
>> Remember you can use REAL domain name, so you can use
>> dev.realdomain.com for each site.
>>
>>
>> --
>>
>> Russ Michaels
>>
>>
>
>
> 

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

Reply via email to