Dundee made six changes from the team that lost to Elgin last week. Jack Hamilton, Jordan Forster, Jordan Marshall, Finlay Robertson and Danny Johnson and Josh McPake was given his first start.
Dundee got off to the perfect start a great cross from Forster was headed on to the bar by McDaid, Danny Johnson was quick to score from the rebound. Dundee kept attacking and were looking good.
Alloa levelled on 10 minutes with a scrappy goal from Dundee's point of view, Liam Dick's shot was deflected into the net via the post. Alloa are a tough team to play against and that's what this division is all about.
Dundee regained the lead when Robertson found McPake who beat the defender and found Jordan McGhee who scored with ease from close in.
Second half and Dundee started well, Alloa's keeper made a brilliant save to deny Forster who's header looked certain to find the net. Both teams had chances but both keepers were in good form.
Then Alloa got a penalty when Byrne fouled Cawley and to the relieve of the home support Jack Hamilton made a good save from Trouten's spot kick.
Soon after Josh McPake was replaced by Josh Todd, Dundee kept at it and should have scored more before the end of the game. They could have also a penalty when Cammy Kerr went down in the box.
A vital victory for Dundee today, and even better United got beat 2-0 at Ayr so we gain points on the leaders.
Dundee: Hamilton, Kerr, McGhee, Forster, Marshall, Robertson, Byrne, McPake (Todd 55), McGowan (Nelson 83), McDaid, Johnson (Hemmings 65). Unused Subs: Sharp, Mackie, Moore, Anderson.
Att: 4,453
Ref: Alan Newlands.
On this day in 1929 Dundee lost 1-0 to St Johnstone in a league game at Dens Park. Crowd was 12,000.