Handle routes for subdomains