---
title: 'Storefront request path'
url: 'https://info.srv.kowal.co/docs/hosting/magento-servers/web-stack'
markdown: 'https://info.srv.kowal.co/docs/hosting/magento-servers/web-stack.md'
lang: en
date: '2026-11-30'
description: 'Trace a request through the web server, cache, PHP and Magento data services.'
---

# Storefront request path

## From domain to PHP

DNS points to the public endpoint. The web server selects a virtual host by hostname. Check its domain mapping and Magento document root (usually `pub`). If only styles or images are missing after deployment, inspect the HTTP response for a specific file under `pub/static` or `pub/media` and check its read permissions.

## Cache and data services

Where Varnish is enabled, a full-page cache hit can serve a request without executing PHP. A miss reaches the application. Magento stores orders in a relational database and searches a separate catalog index. If a product page opens but the product disappears from search, check the indexer, search service connection and product visibility for that store.

For a 502 response, record the time and domain. Read the upstream address in the proxy log, check that service and inspect the PHP-FPM error log if the site uses FPM.

---

## Navigation

- Parent: [Magento servers](https://info.srv.kowal.co/docs/hosting/magento-servers.md)
- Next: [Cron, indexing and queues](https://info.srv.kowal.co/docs/hosting/magento-servers/background-jobs.md)
