It is located in the Punjab province and is the capital of Dera Ghazi Khan District .
As well as being district capital - Dera Ghazi Khan is also the capital of Dera Ghazi Khan Tehsil , an administrative subdivision of the district .