---
title: "Deprecation: #84725 - sys_domain resolving moved into middleware"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:deprecation-84725"
source: "Changelog/9.3/Deprecation-84725-SysDomainResolvingMovedIntoMiddleware.rst"
typo3-version: "9.3"
typo3-major: 9
type: "deprecation"
issue: 84725
forge: "https://forge.typo3.org/issues/84725"
tags: ["Frontend", "PHP-API", "FullyScanned", "ext:frontend"]
rendered: "2026-10-07T19:18:07+00:00"
---

# Deprecation: #84725 - sys_domain resolving moved into middleware {#deprecation-84725}

See [forge#84725](https://forge.typo3.org/issues/84725)

## Description {#description}

The method `PageRepository->getDomainStartPage()` has been marked as deprecated.

The method `TypoScriptFrontendController->findDomainRecord()` which was marked
as internal, has been removed.

As both methods have been used to resolve the root page ID of the current request,
they were solely there to fill `$GLOBALS['TSFE']->domainStartPage` which is now filled
at an earlier stage through the `SiteResolver` middleware.

## Impact {#impact}

Calling the PageRepository method will trigger a PHP `E_USER_DEPRECATED` error.

Calling the TypoScriptFrontendController method will result in a fatal PHP error.

## Affected Installations {#affected-installations}

TYPO3 installations with third-party extensions calling the methods directly, usually
related to resolve a page ID or to mimic a frontend call.

## Migration {#migration}

If the return value is needed, access `$GLOBALS['TSFE']->domainStartPage` directly.

If the functionality is used in a third-party functionality and still needed,
ensure to extend from `SiteResolver` middleware to call the now-protected method equivalents
instead.
