A heavily populated part of Australia's coast will shut down as it braces for a tropical cyclone direct hit for the first time in more than 50 years.