Armthorpe Welfare and Maltby Main have both been handed away draws in the FA Cup extra preliminary round.
Armthorpe go to Northern League Division One side Guisborough Town, while Maltby will visit Wigan Robin Park of the North West Counties League.
Both ties will be played on August 16.
The draws have also been made for the FA Vase qualifying rounds.
Maltby will visit North West Counties League side Alsager Town in the first qualifying round, while Rossington Main host AFC Blackpool. Ties to be played on September 6.
Armthorpe Welfare join the competition in the second qualifying round and will be at home to Merseyside club Bootle (October 4).