it basically means the same thing. Capoluogo if im not mistaken means "head place", which is almost the same etymology as capital (of the head). And both are places where the administration and justice are located. But yes, in the dictionary and the law it likely is capoluogo