Plesk Repair Utility: Web

Using the Plesk repair utility with the web aspect regenerates the configuration files for the web server and all domains. In addition, you can use this aspect to reinstall the SSL certificates, or to resolve issues with missing or corrupted PHP handlers. The following options are specific to this aspect:

  • -domains-only - Regenerates the configuration files for domains only.
  • -sslcerts - Reinstalls all SSL certificates and configures all IP addresses to use the default SSL certificate.
  • -filesharing - Updates the file of sharing passwords and permissions of users according to the information in the Plesk database.
  • -webmail - Reconfigures the webmail site in IIS (Windows only).
  • -validate-configuration - Validates the Apache configuration (Linux only).
  • -server - Regenerates the Apache configuration files only (Linux only).
  • -php-handlers - Checks service plans and domains for unregistered PHP handlers. This option can only be used in the interactive mode.

You can specify individual domains to regenerate the configuration for the specified domains only.

Examples:

  • plesk repair web - Regenerate the configuration files for the web server and all domains.
  • plesk repair web -server - Regenerate the configuration files for the web server only.
  • plesk repair web -domains-only - Regenerate the configuration files for domains only.
  • plesk repair web example.com - Regenerate the configuration files for the example.com domain only.
  • plesk repair web -sslcerts - Reinstall all SSL certificates and configure all IP addresses to use the default SSL certificate.