July 21 2025

421 Misdirected Request Error in Plesk

What happened on the night of July 17, 2025, and why hundreds of sites on Plesk suddenly went offline

During the night between the 17 and the 18 July 2025, many system administrators have found themselves having to deal with a problem as sudden as it is devastating: All sites hosted on Plesk servers with Apache + NGINX stack started returning 421 Misdirected Request errorWithout warning, sites became inaccessible, with serious implications for those running e-commerce sites, business portals, and critical online services.

What is Error 421 Misdirected Request?

This HTTP error is generated by Nginx when it fails to properly route an HTTPS request to the appropriate virtual host, particularly in the context ofSNI (Server Name Indication). This means that the server received an encrypted request, but was unable to associate it with a specific SSL certificate valid for that hostname.

plesk-website-misdirected-request-1024x304

In the case in question, the error was caused by a change in NGINX behavior After an automatic nightly update distributed via the official Plesk repositories, the update changed the way SSL connections are handled in the presence of reverse proxies, resulting in a incorrect behavior in TLS negotiation.

Why did it happen?

With the automatic update, NGINX began explicitly requiring two directives to be present in the SSL proxy configuration:

proxy_ssl_server_name on;
proxy_ssl_name $host;

These directives are essential to correctly pass the requested server name (host) from the NGINX proxy to the HTTPS backend. Without them, NGINX cannot identify the correct certificate to use, and thus returns the infamous 421 Misdirected Request.

How to quickly fix the problem

The technical solution — which immediately restored HTTPS functionality on all domains — is very simple, but it must be applied manually. Just create a custom configuration file inside /etc/nginx/conf.d/ with the correct directives and then restart NGINX:

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

This small fix allows NGINX to correctly handle incoming requests by passing the requested host to the backend, avoiding the 421 error on all sites that use dynamic or shared TLS certificates (as in the case of Let's Encrypt).

Final (and bitter) considerations

All this happened without anyone touching anything. No sysadmin made any mistakes, no manual changes were made. It was an automatic nightly update Released by the vendor to wreak havoc. A simple package updated in a way that wasn't backwards compatible, and hundreds of websites became inaccessible in a matter of seconds.

We learned from this bad experience that we need to disable Plesk automatic updating.

Plesk Automatic Updates

And for those who work in the sector, a reflection comes spontaneously:
How is it possible that, in 2025, we still have to wake up in the morning and find dozens or hundreds of systems offline due to automatic updates imposed by a control panel?

The truth is simple and inconvenient: relying completely on Plesk, cPanel or similar exposes you to these risks. When system management is left in the hands of automated software, the price of “convenience” is loss of controlAnd those who work in production environments know well that reliability comes before ease.

We at MANAGED SERVER SRL have always recommended professionally managed solutions, with configurations manual, transparent, testable and versioned, Where no update is applied without testing.
A well-configured server without control panels It is often more robust, stable and secure than a “simplified” system managed by software that decides what to do and when to do it, without our knowledge.

Automation, yes, but under human control. Otherwise, it's just another weakness.

Do you have doubts? Don't know where to start? Contact us!

We have all the answers to your questions to help you make the right choice.

Chat with us

Chat directly with our presales support.

0256569681

Contact us by phone during office hours 9:30 - 19:30

Contact us online

Open a request directly in the contact area.

DISCLAIMER, Legal Notes and Copyright. RedHat, Inc. holds the rights to Red Hat®, RHEL®, RedHat Linux®, and CentOS®; AlmaLinux™ is a trademark of the AlmaLinux OS Foundation; Rocky Linux® is a registered trademark of the Rocky Linux Foundation; SUSE® is a registered trademark of SUSE LLC; Canonical Ltd. holds the rights to Ubuntu®; Software in the Public Interest, Inc. holds the rights to Debian®; Linus Torvalds holds the rights to Linux®; FreeBSD® is a registered trademark of The FreeBSD Foundation; NetBSD® is a registered trademark of The NetBSD Foundation; OpenBSD® is a registered trademark of Theo de Raadt; Oracle Corporation holds the rights to Oracle®, MySQL®, MyRocks®, VirtualBox®, and ZFS®; Percona® is a registered trademark of Percona LLC; MariaDB® is a registered trademark of MariaDB Corporation Ab; PostgreSQL® is a registered trademark of PostgreSQL Global Development Group; SQLite® is a registered trademark of Hipp, Wyrick & Company, Inc.; KeyDB® is a registered trademark of EQ Alpha Technology Ltd.; Typesense® is a registered trademark of Typesense Inc.; REDIS® is a registered trademark of Redis Labs Ltd; F5 Networks, Inc. owns the rights to NGINX® and NGINX Plus®; Varnish® is a registered trademark of Varnish Software AB; HAProxy® is a registered trademark of HAProxy Technologies LLC; Traefik® is a registered trademark of Traefik Labs; Envoy® is a registered trademark of CNCF; Adobe Inc. owns the rights to Magento®; PrestaShop® is a registered trademark of PrestaShop SA; OpenCart® is a registered trademark of OpenCart Limited; Automattic Inc. holds the rights to WordPress®, WooCommerce®, and JetPack®; Open Source Matters, Inc. owns the rights to Joomla®; Dries Buytaert owns the rights to Drupal®; Shopify® is a registered trademark of Shopify Inc.; BigCommerce® is a registered trademark of BigCommerce Pty. Ltd.; TYPO3® is a registered trademark of the TYPO3 Association; Ghost® is a registered trademark of the Ghost Foundation; Amazon Web Services, Inc. owns the rights to AWS® and Amazon SES®; Google LLC owns the rights to Google Cloud™, Chrome™, and Google Kubernetes Engine™; Alibaba Cloud® is a registered trademark of Alibaba Group Holding Limited; DigitalOcean® is a registered trademark of DigitalOcean, LLC; Linode® is a registered trademark of Linode, LLC; Vultr® is a registered trademark of The Constant Company, LLC; Akamai® is a registered trademark of Akamai Technologies, Inc.; Fastly® is a registered trademark of Fastly, Inc.; Let's Encrypt® is a registered trademark of the Internet Security Research Group; Microsoft Corporation owns the rights to Microsoft®, Azure®, Windows®, Office®, and Internet Explorer®; Mozilla Foundation owns the rights to Firefox®; Apache® is a registered trademark of The Apache Software Foundation; Apache Tomcat® is a registered trademark of The Apache Software Foundation; PHP® is a registered trademark of the PHP Group; Docker® is a registered trademark of Docker, Inc.; Kubernetes® is a registered trademark of The Linux Foundation; OpenShift® is a registered trademark of Red Hat, Inc.; Podman® is a registered trademark of Red Hat, Inc.; Proxmox® is a registered trademark of Proxmox Server Solutions GmbH; VMware® is a registered trademark of Broadcom Inc.; CloudFlare® is a registered trademark of Cloudflare, Inc.; NETSCOUT® is a registered trademark of NETSCOUT Systems Inc.; ElasticSearch®, LogStash®, and Kibana® are registered trademarks of Elastic NV; Grafana® is a registered trademark of Grafana Labs; Prometheus® is a registered trademark of The Linux Foundation; Zabbix® is a registered trademark of Zabbix LLC; Datadog® is a registered trademark of Datadog, Inc.; Ceph® is a registered trademark of Red Hat, Inc.; MinIO® is a registered trademark of MinIO, Inc.; Mailgun® is a registered trademark of Mailgun Technologies, Inc.; SendGrid® is a registered trademark of Twilio Inc.; Postmark® is a registered trademark of ActiveCampaign, LLC; cPanel®, LLC owns the rights to cPanel®; Plesk® is a registered trademark of Plesk International GmbH; Hetzner® is a registered trademark of Hetzner Online GmbH; OVHcloud® is a registered trademark of OVH Groupe SAS; Terraform® is a registered trademark of HashiCorp, Inc.; Ansible® is a registered trademark of Red Hat, Inc.; cURL® is a registered trademark of Daniel Stenberg; Facebook®, Inc. owns the rights to Facebook®, Messenger® and Instagram®. This site is not affiliated with, sponsored by, or otherwise associated with any of the above-mentioned entities and does not represent any of these entities in any way. All rights to the brands and product names mentioned are the property of their respective copyright holders. All other trademarks mentioned are the property of their respective registrants. MANAGED SERVER® is a European registered trademark of MANAGED SERVER SRL, with registered office in Via Flavio Gioia, 6, 62012 Civitanova Marche (MC), Italy and operational headquarters in Via Enzo Ferrari, 9, 62012 Civitanova Marche (MC), Italy.

JUST A MOMENT !

Have you ever wondered if your hosting sucks?

Find out now if your hosting provider is hurting you with a slow website worthy of 1990! Instant results.

Close the CTA
Back to top