Menu

Web Hosting - Apache Web Server Settings

We provide Plesk Panel to our customers

Start with one of our easy web hosting plans to be surprised how your business or personal project can benefit!

Plesk uses the Apache web server (http://en.wikipedia.org/wiki/Apache_HTTP_Server) to deliver the pages of your website to clients (such as browsers through which visitors access your website). By default, to achieve better performance, Apache is supplemented with another web server - nginx. For details about how Apache is integrated with nginx in Plesk, see Apache with nginx in the Administrator’s Guide.

Default web server settings are specified by the server administrator (hosting provider). For example, these settings can determine how web servers process different types of files, how they use SSL, where they store log files, and so on.

However, you (as a website owner) can set up custom web server settings for your website. For example, add a type of the index file, restrict access to the site, and so on.

Note: You can adjust web server settings for your websites only if your hosting subscription provides the corresponding permission.

Adjusting Apache Web Server Settings

All customizable web server settings are located on the Websites & Domains > domain name > Web Server Settings page. Custom settings work only for the selected website. The settings are divided into two groups:

  • Common Apache settings.

    These settings are typically changed by site owners, who may want to add a type of index files (Index files), or a MIME type for files with a certain extension (MIME types), to restrict access to the site (Deny access to the site), or specify Apache handlers for a certain file type (Handlers).

  • nginx settings.

    These settings define how the processing of web requests is divided between the Apache and nginx web servers to achieve better performance for a specific site.

    Important: nginx settings are for advanced users only. To learn more about nginx settings, see Adjusting nginx Settings for Virtual Hosts in the Administrator’s Guide.

    • Smart static files processing.

      Caution: Turn off this option only to troubleshoot nginx related issues.

      Turning this option off will limit the role of nginx: It will only pass requests and responses without modification. Except for troubleshooting the nginx related issues, we recommend that you leave this option turned on.

    • Serve static files directly by nginx.

      For sites with a lot of static content (like image or video files) and high load, better performance can be achieved by delegating serving static files to nginx. Apache will not take any part in processing the requests for the files with the specified extensions.

      For example, to exclude Apache from delivering jpg and gif files, you should turn on the option Serve static files directly by nginx and specify file extensions like this

      gif jpg

      or

      gif|jpg

      Caution: Because requests for static files never reach Apache, they do not pass through Apache handlers. This means, for example, that rewrite rules or .htaccess directives will not be applied.

    • Process PHP by nginx.

      When the Process PHP by nginx option is on, Apache does not take any part in processing the requests for PHP files. All requests for PHP files are processed by nginx using the PHP-FPM handler. The handlers used by Apache are not available on nginx. The PHP-FPM is an advanced version of FastCGI which offers significant benefits for highly loaded web applications. To learn more about PHP-FPM, see http://php-fpm.org/about/.

      Caution: Because requests for PHP files do not reach Apache they do not pass through its handlers (CGI, FastCGI, or an Apache module), so some web apps may not work as expected.

Note that subdomains have their own web server settings, therefore, when you change web server settings for a site that has subdomains, the subdomains will not receive these changes.

If you do not find the necessary setting, contact your server administrator (hosting provider), who can set up more custom settings for websites.

The Default Value of Server Settings

You can set the value of each parameter either by typing a custom value, or leaving the Default value. In the latter case, Plesk uses the values from the default web server configuration defined by the server administrator (hosting provider).

Your values override the default ones. The only exception is the Deny access to the site setting - IP addresses from the default configuration, as well as the IP addresses specified by you, will all be applied to your website. In case of a conflict (for example, when you allow the IP address that is denied in the default configuration), Apache uses your settings.

Unlimited Web Hosting

Start with one of our easy web hosting plans to be surprised how your business or personal project can benefit!

Included with every 2BHOST Web Hosting Plans

√ PHP 5.2, 5.3, ... 7.0
√ ASP.NET
√ Classic ASP
√ MYSQL
√ MSSQL
√ CGI
√ Python
√ Perl
√ Web Mail
√ POP 3 Accounts
√ Custom PHP.ini
√ FastCGI
√ Forwarding
√ Auto-Responder
√ DBs Access Control
√ SMTP
√ IMAP
√ Anti Spam Control

Our Reseller Plan is completely customizable by the customer!

Cheap Shared Unlimited Web Hosting Packages

Unlimited Economy
$3.73monthly
Unlimited Domains
Unlimited Bandwidth
Unlimited Email Addresses
3 GBs Storage (Expandable)
3 MySQL Databases
1 MSSQL Databases
Unlimited FTP Users
No hidden costs
Montly Payment
7 Days money back
Customizable Addons anytime!
Configure
Unlimited Company
$5.73monthly
Unlimited Domains
Unlimited Bandwidth
Unlimited Email Addresses
5 GBs Storage (Expandable)
3 MySQL Databases
1 MSSQL Databases
Unlimited FTP Users
No hidden costs
Montly Payment
7 Days money back
Customizable Addons anytime!
Configure
Unlimited Reseller
$7.73monthly
Unlimited Panel Customers
Unlimited Domains
Unlimited Bandwidth
Unlimited Email Addresses
7 GBs Storage (Expandable)
7 MySQL Databases
1 MSSQL Databases
Unlimited FTP Users
No hidden costs
Montly Payment
3 Days money back
Customizable Addons anytime!
Configure

Reseller Unlimited Web Hosting Packages

Reseller Economy
$15.99monthly
Unlimited Panel Customers
Unlimited Domains
Unlimited Bandwidth
Unlimited Email Addresses
14 GBs Storage (Expandable)
7 MySQL Databases (Expandable)
7 MSSQL Databases (Expandable)
Unlimited FTP Users
No hidden costs
Montly Payment
Server: Windows or Linux
Plesk 12 Unlimited
24 hours money back
Customizable Addons anytime!
Configure
Reseller Developer
$29.99monthly
Unlimited Panel Customers
Unlimited Domains
Unlimited Bandwidth
Unlimited Email Addresses
30 GBs Storage (Expandable)
Unlimited MySQL Databases
Unlimited MSSQL Databases
Unlimited FTP Users
No hidden costs
Montly Payment
Server: Windows or Linux
Plesk 12 Unlimited
24 hours money back
Customizable Addons anytime!
Configure
Reseller Super!
$59.99monthly
Unlimited Panel Customers
Unlimited Domains
Unlimited Bandwidth
Unlimited Email Addresses
100 GBs Storage (Expandable)
Unlimited MySQL Databases
Unlimited MSSQL Databases
Unlimited FTP Users
No hidden costs
Montly Payment
Server: Windows or Linux
Plesk 12 Unlimited
24 hours money back
Customizable Addons anytime!
Configure

web hosting