Fixed subdomain routing bug