He replaces Michael Morton at the National League strugglers who departed after the team’s failure to win any of their games so far.
Ardley has a track record for getting his clubs to where they need to be.
He guided AFC Wimbledon to Wembley, winning the League Two play-off final in 2016 before going very close with Notts County and Solihull Moors, falling just short in the Promotion Finals of 2020 and 2022.
He faces a big job repeating the trick this season after the Minstermen’s slow start.
They have taken just two points from a possible 21 and are only not sitting bottom due to Southend United’s points deduction.
York were thrashed 4-1 at Ebbsfleet United on Saturday and this weekend they face a home match against Boreham Wood - a tough first test for the new manager.
Ardley pens what the club call a long-term contract after owner Matt Uggla spoke following the announcement.
He spoke on social media about the appointment, saying: "First manager I’ve ever appointed.
"After getting to know the man I know the club is in very safe hands and he fits the vision and culture we are trying to build! Very exciting times.”