This document discusses using Spring Cloud Gateway to route requests based on subdomain and custom domains. It describes how to configure Spring Cloud Gateway to route requests to different services based on the host header, including routing to subdomains (e.g. user.domain.com) and custom domains (e.g. user.com). It also discusses challenges with custom domains related to HTTPS and describes how to build a certificate manager and custom filter to dynamically load SSL certificates from object storage to support custom domains over HTTPS.