Did sydney used to be the capital?

Sydney was never the capital of Australia. The first capital of Australia was Melbourne, from 1901 until 1927, when the capital was moved to Canberra.
Copyright Wanderlust World © https://www.ynyoo.com