Using ColdFusion Studio
|
|
Chapter 11 : Deploying Projects
|
Setting Up Default Deployment Servers
The servers that are listed under Deployment Servers in your project are your default deployment servers.
The Deployment Servers list provides a visual cue as to which servers are associated with your project and will be included in the project file (.apf file). When you deploy your project, you get to pick the servers to deploy to from this list.
The process for adding a deployment server is very similar to that for configuring a remote server in the Universal Files tab. The primary difference is that deployment server information is added to the project file, while remote server information is not. Remember, by passing the project file along with a project, developers can maintain the same deployment settings.
 |
To see a list of default deployment servers:
|
- Click the Projects tab.
- Open a project (see Chapter 10, "Using Projects for Site Management" for information on opening projects).
- Expand Deployment Servers to see a list of the default deployment servers for the project you selected.
FTP servers
If you have added an FTP server using Allaire FTP & RDS, you will need to enter the server information from the Projects tab to congiure the server for deployment.
 |
To add an FTP server for deplyment:
|
- Right-click Deployment Servers and choose Add FTP Server to see the Configure FTP Server dialog box.
- Enter the following information for the server you want to connect to:
- Description -- A descriptive name that will be displayed in the Universal Files tab and in Windows Explorer.
- Host Name -- The server's domain name, such as
allaire.com
, or an IP address. Servers that include ftp
as part of the domain name require that you enter the complete name, such as ftp.somesite.com.
- Initial Directory -- This entry is optional for accounts that default to the root directory of the FTP server, but is required if the account specifies an initial directory.
- Relative from server-assigned directory -- Check the box to specify whether the initial directory should be set from the server-assigned user directory or from the server root.
- Username -- The login name for the account used to access the remote server or "anonymous" for anonymous FTP servers. You will be prompted for a username at login if this field is left blank.
- Password -- The password for the account used to access the remote server. You will be prompted for a password at login if this field is left blank.
- Root URL -- Enter the http:// address of the site. This entry allows you to browse files that were opened from the remote server, edited, and saved.
- Remote Port -- The port used by the FTP server. Use the default 21 unless another is specified by the server administrator or internet service provider.
- Request Timeout -- Set a value for the amount of time Studio waits for a server connection to complete.
- Assume UTC file times -- Check this box if you see incorrect date/time information for files on the FTP server. It adjust for servers that use the Universal Coordinated Time format.
- Disable passive mode -- Check this box if the server does not use passive connections.
- Click OK to close the dialog box and add the server to the Deployment Servers list.
Note |
FTP server connection requirements vary greatly. The instructions above
work in the majority of cases.
|
RDS servers
If you have added an RDS server using Allaire FTP & RDS, you will need to enter the server information from the Projects tab to configure the server for deployment.
 |
To add an RDS server for deployment:
|
- Right-click Deployment Servers and choose Add RDS Server.
- Complete the Remote Host fields in the Configure RDS Server dialog:
- Description -- The name that you want to appear in the server list.
- Host Name -- The server domain name, such as
www.allaire.com
or an IP address.
- Port -- The Web server port. Use the default 80 unless another port is specified by the server administrator or ISP.
- Use Secure Sockets Layer (SSL) -- Allows exchanges between Studio and the server to be encrypted via SSL.
- Complete the ColdFusion RDS Security fields:
- User Name -- Required if the server is password-protected.
- Password -- Required if the server is password-protected. Open the ColdFusion Administrator Server > Basic Security page to edit or disable the Studio password.
- Check Prompt for Password to enable these entries.
- Click OK to complete the dialog.
 |
To set server properties:
|
You can set server properties from Projects tab the same as you would from the Universal Files tab.
- Right-click the server you want to change and choose Properties from the menu to see the Configure FTP Server dialog box.
- Make any changes necessary and click OK.
 |
To remove a server:
|
- Expand Deployment Servers.
- Right-click the server you want to remove and click Remove Server.
You are asked to confirm that you want to remove the server.
- Click Yes.
Copyright © 1999, Allaire Corporation. All rights reserved.
|
|