The multi-domain scaffolding protein NHERF1 modulates the assembly and intracellular trafficking of various transmembrane receptors and ion-transport proteins. The two PDZ domains of NHERF1 possess very different ligand-binding capabilities: PDZ1 recognizes a variety of membrane proteins with high affinity, while PDZ2 only binds limited number of target proteins. Here using NMR, we have determined the structural and dynamic mechanisms that differentiate the binding affinities of the two PDZ domains, for the Type 1 PDZ-binding motif (QDTRL) in the carboxyl-terminus of CFTR. Similar to PDZ2, we have identified a helix-turn-helix subdomain coupled to the canonical PDZ1 domain. The extended PDZ1 domain is highly flexible with correlated backbone motions on fast and slow timescales, while the extended PDZ2 domain is relatively rigid. The malleability of the extended PDZ1 structure facilitates the transmission of conformational changes at the ligand-binding site to the remote helix-turn-helix extension. By contrast, ligand-binding has only modest effects on the conformation and dynamics of the extended PDZ2 domain. The study shows that ligand induced structural and dynamic changes coupled with sequence variation at the putative PDZ binding site dictate ligand selectivity and binding affinity of the two PDZ domains of NHERF1.