Eighth tier Ramsgate's reward for knocking National League Woking out of the FA Cup is a trip to League Two AFC Wimbledon in the second round.
The Isthmian League South East side produced one of the shocks of the first round with their 2-1 win on Saturday.
Aldershot became the first non-league team to score seven against a league side when they won 7-4 at Swindon and they have a home tie with Stockport.
Chesterfield, who beat Portsmouth, will host Leyton Orient.
Teams from the Premier League and Championship enter the competition in the third round.
Wigan Athletic, winners in 2013, will face a trip to either National League York City.
National League South side Yeovil's reward for beating fifth tier Gateshead is a trip to League Two promotion hopefuls Wrexham.
The 20 ties will be played over the weekend of 2-3 December.
FA Cup second-round draw
AFC Wimbledon v Ramsgate
Aldershot Town v Stockport County
Alfreton Town v Walsall
Blackpool v Forest Green Rovers
Bolton Wanderers v Harrogate Town
Cambridge United v Fleetwood Town
York City v Wigan Athletic
Chesterfield v Leyton Orient
Crewe Alexandra v Bristol Rovers
Eastleigh v Reading
Gillingham v Charlton
Maidstone United v Barrow
Newport County v Barnet
Notts County v Shrewsbury Town
Oxford United v Grimsby
Peterborough v Doncaster
Stevenage v Port Vale
Sutton United v Barnsley
Wrexham v Yeovil Town
Wycombe Wanderers v Morecambe