Adjusting Apache Settings for Virtual Hosts

You can customize Apache configuration for a particular website in the Customer Panel on the Websites & Domains > <domain_name> > Apache & nginx Settings page.

Adjusting Common Apache Settings

The section Common Apache settings contains the settings that website owners typically want to adjust. For example, to add custom index files or restrict access to the site by IP address. For each parameter, you can either type a custom value, or use the default Apache configuration (by selecting the Default value).

Note: As opposed to other web server settings, the Deny access to the site parameter does not override but supplements the list of IP addresses provided in the default configuration. In case of a conflict (for example, when you allow the address that is denied in the default configuration), your values will be used.

Adjusting Additional Apache Directives

To add Apache directives for a website that are not available in the Common Apache settings, use the Additional directives for HTTP and Additional directives for HTTPS fields. When editing the fields, use the syntax as in httpd.conf. For example, if you want to set a custom error page, add the line:


Important: Your customers cannot view and edit these fields.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Automated website copying in Plesk 12

Log in to the Plesk Control Panel Go to the Websites & Domains and click the name of the...

How to set up custom nameservers in Plesk

Once your domain has been created in Plesk you will need to configure the DNS settings for your...

Logging In to Plesk

To log in to Plesk, open your web browser and open the following address:...

Plesk Editions

Starting from Plesk 12, you can choose from four Plesk editions that have features mostly used by...

Plesk Users

Plesk is a web hosting control panel that targets three user groups: Administrators. These...