---
date: 2025-11-21T18:51:53+00:00
modified: 2025-11-21T18:51:53+00:00
permalink: https://kaspars.net/note/mastodon-social-115589664855129880
post_type: note
author:
  name: Kaspars
  avatar: https://reverse.kaspars.net/gravatar/avatar/92bfcd3a8c3a21a033a6484d32c25a40b113ec6891f674336081513d5c98ef76?s=96&d=mm&r=g
---

# On November 21, 2025 at 20:51

Turns out HTTP Host headers can have a trailing dot (totally valid too) and nginx will happily forward it to php-fpm making $\_SERVER\['HTTP\_HOST'\] have a trailing dot which then fails all WP multisite domain lookups…

First time seeing this on a fresh nginx + php 8.4 setup.