The comprehensive Server Management feature of ColdFusion Builder lets you start, stop, and restart the ColdFusion server, and access the ColdFusion Administrator and Server Monitor from a single Servers view. For more information about the Servers view, see Using Servers View.
You add a server, and associate it with a project to debug or preview files in the project. You also associate a server with a project to install and run the extensions that are packaged with ColdFusion Builder. For more information about adding servers, see Adding ColdFusion servers.
Understanding web server terminology
Before you set up and manage your server, read through the following topics to understand web server terms and concepts that are used in the documentation.
For detailed information about web servers and configuring them for ColdFusion, see Web Server Management in the ColdFusion Administrator's Guide
Document root
The term Document Root refers to a file system directory, from where your web server serves web pages. The term can vary from server to server, but the same concepts apply to most web servers.
URL prefix
A URL prefix maps a local file system resource with a URL.
In ColdFusion Builder, you use a URL prefix to preview or debug projects outside your web root or document root.
You can specify a URL prefix while creating a server, or by editing settings for an existing server. For more information, see URL Prefix.
You can also specify a URL prefix to an existing project or folder. For more information, see Set URL Prefix.
Usage Scenario
You have a project called "Project1". Project1 is configured to server1, whose document root is at C:\server1\MyDocs and URL is http://www.example1.com. Within Project1, you have a linked folder called "xyz". The folder xyz points to the document root of server2, which is C:\server2\MyDocs and the URL to access it is http://www.example2.com. You want to preview all the files within the xyz linked folder in ColdFusion Builder.In this scenario, to preview files within the xyz linked folder, you create a URL prefix. You create a URL prefix by specifying the following details:
- Absolute path: C:\server2\MyDocs\
- URL to access the xyz folder: http://www.example2.com
Virtual host
The term Virtual Host refers to the method of hosting multiple websites (domain names) on a single web server. The multiple websites are differentiated by their apparent host names. For example, you can run websites www.example1.com, www.example2.com, and www.example3.com, on a single IP address.
In the ColdFusion Builder context, you can use a single ColdFusion server to run multiple websites that are configured as virtual hosts on an external web server like IIS or Apache.
For information on how to configure virtual hosts in the web server, see the web server- specific documentation.
When you associate a project with a virtual host, ColdFusion Builder functionality like, previewing, debugging, Content Assist, and building extensions, is extended to all the folders and subfolders within the project.
Virtual directory
The term _Virtual Directory _refers to a folder that is not physically contained in the document root although it is accessible through the server URL. To create a virtual directory, you specify an alias for the folder’s path in the URL. The alias name is used to access resources within the folder.
Suppose the document root for your website (www.example.com) is c:\xyz\docs, and the folder that provides contents to your website is at d:\abc\content. Then, you define an alias for this folder called content. You can then access the website using the URL: http://www.example.com/content/