Robots.txt

A text file that instructs search engines which parts of a site can or cannot be crawled.
Block staging environments using Disallow in robots.txt.