Skip to content
  • Solutions
    By Role
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    By Infrastructure
    • Overview
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Overview
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
  • Product
    • Plesk Features
    • Plesk Editions
    • What’s new
    • Pricing
    • Roadmap
    • Lifecycle Policy
    • Extensions Catalogue
  • Pricing
  • Extensions
    Featured Extensions
    • SocialBee
    • WP Toolkit
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Joomla! Toolkit
    • Premium Email
    • Email Security
    • SocialBee
    • WP Toolkit
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Joomla! Toolkit
    • Premium Email
    • Email Security
    Bundles and packs:
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack

    See all Extensions

  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • Joomla! Toolkit
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • Joomla! Toolkit
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
Plesk 360 login
Free Trial

Knowledge Base

Pages of a website hosted in Plesk fail to load: Size of a request header field exceeds server limit

 
apachebackupddosdebiandns

Symptoms

Website pages fail to open with the following error message in a web-browser:

Bad request
Your browser sent a request that this server could not understand.
Size of a request header field exceeds server limit.

Cause

Size of a request header field has exceeded the server limit defined in the Apache web server (most often) configuration. The default Apache header size that is allowed is 8 KB.

Resolution

For Apache on Debian-based distributions (all domains)
For Apache on RHEL-based distributions (all domains)
For one website served by nginx only (single domain)
For one website served by Apache (single domain)
  1. Connect to the Plesk server via SSH

  2. Create a backup of the Apache configuration file (just in case):

    # cp /etc/apache2/apache2.conf /etc/apache2/apache2.conf_`date +%F`

  3. Open the /etc/apache2/apache2.conffile with your favorite command-line text editor

  4. Add the following line right after the # Global configuration line (near the top of the file) and specify your value (16000 is an example):

    LimitRequestFieldSize 16000

  5. Save the changes and close the file

  6. Restart the Apache service to apply the changes:

    # systemctl restart apache2

    Note: In case the value of 16000 (16KB) is not enough, increase it to the greater value, for example, 32000 (32KB).

  1. Connect to the Plesk server via SSH

  2. Create a backup of the Apache configuration file (just in case):

    # cp -a /etc/httpd/conf/httpd.conf /root/httpd.conf_`date +%F`

  3. Open the /etc/httpd/conf/httpd.conf file with your favorite command-line text editor

  4. Add the following line right after the # Global configuration line (near the top of the file) and specify your value (16000 is an example):

    LimitRequestFieldSize 16000

  5. Save the changes and close the file

  6. Restart the Apache service to apply the changes:

    # systemctl restart httpd

    Note: In case the value of 16000 (16KB) is not enough, increase it to the greater value, for example, 32000 (32KB).

If the website is using nginx-only hosting, apply the following steps:

  1. Log into Plesk
  2. Go to Domains > example.com > Hosting & DNS > Apache & nginx Settings.

  3. Add the following line to Additional nginx directives:

    large_client_header_buffers 4 16k;

    Note: Edit 16k to match whatever request buffer size you need (8k is default), and keep in mind that the larger the buffer size, the greater the negative impact would be in case of a DDOS attack.

  4. Press Apply

If the website is served by Apache, apply the following steps:

  1. Log into Plesk
  2. Go to Domains > example.com > Hosting & DNS > Apache & nginx Settings.

  3. Add the following line to Additional directives for HTTP and Additional directives for HTTPS:

    LimitRequestFieldSize 16000

  4. Press Apply
Tweet
Share
Share
Email
0 Shares
Read the full article
Related Posts

Your Complete .htaccess Guide: Including .htaccess Basics and More

Read More »

NGINX vs Apache – Which Is the Best Web Server in 2024?

Read More »

DNS_PROBE_FINISHED_NXDOMAIN: What Is It And How To Fix The Problem

Read More »
Knowledge Base

A website or webmail hosted in Plesk periodically shows the Plesk/web server default page or old website content

Read More »

How to enable/disable gzip compression in nginx on a Plesk server

Read More »

Upload of a big file on websites hosted in Plesk fails: client intended to send too large body

Read More »

How to set up nginx to log real client IP address when the Plesk server is behind an external proxy server

Read More »

Hosting Wiki

  • Django
  • Server Redundancy
  • Google Cloud CDN
  • DDoS
  • Bare Metal Server
  • Backup
  • Oracle VM Server
  • Server Virtualization Software
  • Windows Server
  • Linux
  • MongoDB
  • HTTP/3
  • HTTP/2
  • Domain
  • Hosting Control Panel
  • Plesk
  • Lighttpd
  • Apache Tomcat
  • NGINX
  • Apache
  • Web Server
  • Static DNS
  • DNS Server
  • DNS Forwarding
  • Reverse DNS
  • SSH
  • Colocation Hosting
  • Reseller Hosting
  • Cloud Hosting
  • VPS Hosting
  • Dedicated Hosting
  • Shared Hosting
  • Free Hosting
  • Managed Hosting
  • HTTP
X-twitter Linkedin Youtube Reddit Github
  • Product
  • Login
  • Pricing
  • Editions
  • For Partners
  • Partner Program
  • Contributor Program
  • Affiliate Program
  • Plesk University
  • Company
  • Blog
  • Careers
  • Events
  • About Plesk
  • Our Brand
  • Resources
  • User and Admin guides
  • Help Center
  • Migrate to Plesk
  • Contact Us
  • Hosting Wiki
  • Forum
  • Legal
  • Legal
  • Privacy Policy
  • Imprint

© 2025 WebPros International GmbH

Part of the WebPros®  Family