There was a problem loading the comments.

Websites on Plesk (Ubuntu) Inaccessible After Apache Update – Error 421 Misdirected Request

Support Portal  »  Knowledgebase  »  Viewing Article

  Print

Applies to: Plesk for Linux

Issue
Following a recent Apache update, websites hosted via Plesk on Ubuntu may display the following error:

421 Misdirected Request

In the domain logs (Plesk > Domains > example.com > Logs), you may see this message:

AH02032: Hostname default-203_0_113_2 (default host as no SNI was provided) and hostname www.example.com provided via HTTP have no compatible SSL setup

Cause
This issue stems from recent security improvements in Apache addressing vulnerabilities (CVEs). These changes affect how Apache handles HTTPS requests when used with nginx. Specifically, Apache now requires the server name to be passed via the SNI (Server Name Indication) extension—which nginx does not do by default.

Solution
To resolve this, update your nginx configuration to explicitly pass the server name to Apache. Here's how:

  1. Connect to your Plesk server via SSH.

  2. Run the following command (do not modify it):

 
echo -e "proxy_ssl_server_name on;\nproxy_ssl_name \$host;" > /etc/nginx/conf.d/fixssl.conf && service nginx restart

This adds the necessary directives to your nginx config and restarts the service.

Status
The Plesk team is working on an official patch for versions Obsidian 18.0.70 and 18.0.71.


Share via

Related Articles

© Hosting UK