What problem does it solve? Running multiple applications behind one domain or across subdomains requires dispatching each incoming request to the correct app based on its hostname. This Skill implements that host-based routing layer for Rango apps, including lazy sub-app loading, middleware, and development-time host overrides. ## Core Features & Use Cases - Pattern-based host matching: Register wildcard patterns like admin.*, **.example.com, or example.com/api and map each to an inline handler or a lazily imported sub-app. - Middleware and fallback handling: Attach global or per-route middleware, configure a fallback for cookie-override errors, and catch NoRouteMatchError for unmatched hosts. - Cookie-based host override for development: Route requests to different apps from a single domain using a validated cookie, with optional custom validation logic. - Use Case: A team serves a marketing site, an admin dashboard, and an API from one Cloudflare Worker or Vercel function, dispatching by subdomain while testing each app locally via a dev cookie. ## Quick Start Create a host router that routes admin subdomain requests to the admin app and all other requests to the main app.