How do I set my default webpage (virtual host template) - Plesk 9

This article applies on resellers using Plesk 9.5

You can set your control panel to automatically include specific files and directories into Web spaces created for newly hosted Web sites. 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 control panel so as to automatically include your Web content into Web spaces:

  1. On your local file system, create the required directories: httpdocs, httpsdocs, cgi-bin, anon_ftp, error_docs.
  2. Place the files you need into the directories you have created: Place Web pages into httpdocs and httpsdocs directories, scripts to cgibin 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. On your Home page, click Virtual Host Template (in the Domains group).
  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. On your Home page, click Virtual Host Template (in the Domains group).
  2. Click the Default button.

  • 41 Users Found This Useful
Was this answer helpful?

Related Articles

Temporary URL to view website before making DNS changes

This article applies to: Plesk 9.5 Plesk 10 - 12 On Windows Hosting If your domain name...

How to access e-mail using webmail?

To access your mailbox through Webmail: Open a web browser, and type the...

Plesk Error =>There is a problem with this website's security certificate.

Why do I get the following warning message when logging into Plesk? "There is a problem with...

Why Can't See My Website With WWW prefix?

This article applies to: Plesk 9 If you can view your website as "domain.com" but cannot...

How to generate a CSR in Plesk?

What is CSRA Certificate Signing Request (CSR) is an encrypted text file used in the creation and...