The molecular basis of second messenger signaling relies on an array of proteins that synthesize, degrade or bind the molecule to produce coherent functional outputs. Cyclic di-GMP (c-di-GMP) has emerged as a eubacterial nucleotide second messenger regulating a plethora of key behaviors, like the transition from planktonic cells to biofilm communities. The striking multiplicity of c-di-GMP control modules and regulated cellular functions raised the question of signaling specificity. Are c-di-GMP signaling routes exclusively dependent on a central hub or can they be locally administrated? In this study, we show an example of how c-di-GMP signaling gains output specificity in Pseudomonas aeruginosa. We observed the occurrence in P. aeruginosa of a c-di-GMP synthase gene, hsbD, in the proximity of the hptB and flagellar genes cluster. We show that the HptB pathway controls biofilm formation and motility by involving both HsbD and the anti-anti-sigma factor HsbA. The rewiring of c-di-GMP signaling into the HptB cascade relies on the original interaction between HsbD and HsbA and on the control of HsbD dynamic localization at the cell poles.