Sometimes the landlord arranges the sublease, and collects any differential from the original tenant. But you are correct that, where the contract for the sublease is exclusively between the tenant and the subtenant, the landlord would go after the original tenant for the rent, not the subtenant.