Consulates are subordinate posts of their home country's diplomatic mission (typically an embassy, in the capital city of the host country).
Consulates are subordinate offices of a country's diplomatic mission (typically an embassy, in the capital city of the host nation).