National League side AFC Fylde will host 2013 FA Cup winners Wigan in the second round of the competition.
Fylde, through to this stage of the competition for the first time in their history following a victory over Kidderminster, were paired with League One Latics when the second round draw was made on Monday.
Fylde’s fellow non-League side Boreham Wood will also face former winners of the competition in the shape of Coventry, who lifted the cup in 1987. Coventry will be at home for the tie.
There were a total of 12 non-League sides in the draw. National League South Oxford City were drawn away to Notts County.
Seventh-tier Hereford, the lowest-ranked side through to the second round, will face either Chorley or Fleetwood after their tie on Monday night.
Leatherhead, who are ranked lower than Hereford, would go away to Wycombe if they win their replay against Billericay Town.
Second-round draw in full
Woking or Bury vs Tranmere or Peterborough
MK Dons v Maidstone
Newport County v Cambridge
Wycombe v Leatherhead or Billericay
Port Vale v Yeovil
Shrewsbury v Morecambe
Doncaster v Northampton or Scunthorpe
Slough v Rochdale
AFC Wimbledon v Charlton
Stevenage v Swindon
Mansfield v Guiseley or Accrington Stanley
Gateshead v Luton
Bradford v Plymouth
Blackburn v Crewe
AFC Fylde v Wigan
Gillingham v Carlisle
Notts County v Oxford City
Forest Green v Exeter
Chorley or Fleetwood v Hereford
Coventry v Boreham Wood