Ekron, Ashdod, and Gaza are all identified. Observe that the Philistine territory is assigned to Judah here.
Related Commentaries of Joshua 15:46
Joshua 15:46-47
46 From Ekron even unto the sea, all that lay neard Ashdod, with their villages:
47 Ashdod with her towns and her villages, Gaza with her towns and her villages, unto the river of Egypt, and the great sea, and the border thereof: