Presetting Content of Customer Websites

You can configure the Panel to automatically include specific files and directories into webspaces created for newly hosted websites. This can be a set of useful scripts, custom error messages, a placeholder index.html page, or any other files of your choice. These files can then be replaced, edited or removed on a per-site basis.

To set up the Panel so as to automatically include your Web content into webspaces:

  1. On your local file system, create the required directories: httpdocs, cgi-bin, anon_ftp, error_docs.
  2. Place the files you need into the directories you have created: Place Web pages into httpdocs directory, scripts to cgi-bin directory, and custom error messages to error_docs directory.
  3. Pack the directories and files into an archive file in tgz, tar, tar.gz, or zip format.

    Make sure that the directories are in the root of the archive file and not in a subdirectory.

  4. Log in to your Parallels Plesk Panel.
  5. Go to Tools & Utilities > Virtual Host Template.
  6. Click the Browse button to locate the archive file on your local computer, select the file, and click the Send File button.

To revert back to the original structure of Web server directories and files:

  1. Go to Tools & Utilities > Virtual Host Template.
  2. Click the Default button.

 

Leave your comments on this page