Promoters contain specific DNA sequences which give the RNA polymerase a place to bind. Other proteins also help this to happen. Some can also stop it from happening. The whole thing is called "the regulation of gene expression". 