> I've been developing locally in CFBuilder on Windows 7. When I installed > CFBuilder I used the "Built-In Webserver" option rather than local IIS or > Apache or something else. > > Things have been working fine - I could access my server at > http://localhost:8300, set up databases, and do the typical things one > would expect. > > I have a few different projects in the root server each in their own > folder. However, this required browsing to > http://localhost:8300/myProjectFolder but to simulate the production sites, > this couldn't continue. I wanted to set it up so I could do > http://myproject.dev or some variation but the problem is I can't quite > figure out how, or at least how to do it correctly. > > In my local server aptly named LocalDev configuration from CFBuilder, I > added a Virtual Host named myproject.dev, Host name, myproject.dev, Port > 8300 (same as the server) over http and pointed at my document root which > lives in the cf server root folder. I had a multi-instance install so the > path is C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\myProject > > I then right clicked on my project >Properties>Coldfusion Server Settings > and selected my server with the virtual host. "LocalDev-myproject.dev" and > see a Sample Url of http://myproject.dev:8300/
Andrew is right. The built-in web server doesn't support multiple virtual servers. You need an external web server for that (IIS or Apache). Alternatively, you could install another CF instance into your multiserver install, which would have its own web server (probably on TCP/8301). 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:350505 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

