The surface of both Imperial
Death Stars were dotted with heavy weapon emplacements, including immense turbolaser towers. These defenses were designed against large scale threats, such as capital ship attacks, and were too ponderous to track fast-moving vessels such as Alliance starfighters.
Similar weaponry of a smaller scale was employed aboard the Millennium Falcon, and the Trade Federation battleships of a generation previous.