Configure a web server for publishing
While there are a few different options for publishing content to a web server (as described in Transports), the most common method is to utilize FTP, FTPS, or SFTP. In order to publish from Cascade CMS to a server using one of these protocols, we recommend following the general steps below (we'll use SFTP as an example, but the steps are similar for FTP and FTPS as well):
- Install an SFTP server on the web server
- Create an SFTP account for Cascade CMS to use in order to connect and send files
- Configure the SFTP account's home directory to something appropriate (in most cases, this will be your web root)
- Ensure that the SFTP account has full permissions to the account's home directory and all of its subfolders (this is necessary so that the CMS can create, update, and remove files from the website)
- Configure the firewall to allow traffic from the Cascade CMS server over port 22
Once the SFTP server has been configured as described above, you'll want to verify that you can connect to it from the application server (where Cascade CMS is installed).
We recommend using a 3rd party SFTP client (like WinSCP or Filezilla, for example) for this purpose as it will also allow for you to verify that connecting with the account places you in the expected directory on the web server's filesystem (the home directory of the SFTP account).
After verifying that you can successfully connect using a 3rd party client:
- Log into Cascade CMS and switch into the Site you wish to publish
- Create a new Transport using the SFTP account credentials that were verified above
- Create a new Destination and when configuring it, select the Transport that was created in the step prior to this
The combination of the Transport and Destination are what determine how and where the CMS will publish. More information on that can be found in Determining Where Assets Will Be Published.