How to manage the Virtual Host Template in Plesk

The Virtual Host Template allows you to configure the Panel to automatically include specific files and directories into webspaces created for newly hosted websites.

1) Begin by creating these four required directories on your local computer. Scripts should go into the cgi-bin folder, custom error messages in error_docs, and web pages in httpdocs.


2) Once you have set up your file and directory structure, pack them into an archive file in the format of tgz, tar, tar.gz, or zip. Make sure the directories are in the root of the archive, not in a subdirectory.

 

3) Now, from your Plesk control panel, go to Tools & Utilities.


4) Click Virtual Host Template.


5) Click Choose File to browse for your archive file.


6) Click Send File.


 

Here is our new template. If you don't see your file structure here or encounter errors, be sure your directories are in the root folder, as some archive programs may put them in a subdirectory.


7) Click Default to use the original template.


 

That's it! Now you know how to manage the virtual host template.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Getting Started with Parallels Plesk Panel 10

Welcome to Parallels Plesk Panel 10. This version of Plesk provides you and your customers with...

How to access a subscriber's Control Panel in Plesk

At some point in time, you may need to access your customer's control panel, so let's see how...

How to activate or suspend a Customer or Subscription in Plesk

When you suspend a customer account, access to the Panel is blocked for suspended customers and...

How to change a customer's Login Info in Plesk

If you need to change a customer's login information in Plesk, follow these steps. 1) First,...

How to change a subscription's Expiration Date in Plesk

If you need to change a subscription's expiration date, follow these steps from your reseller...