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.
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).
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:
ErrorDocument 401 /my_error_page.html