AFC Fylde must travel to Gateshead in the last 16 of the FA Trophy
The Coasters were paired with the North East club from the National League in the draw made at Wembley Stadium.
It was Fylde's reward for beating Eastbourne Borough 4-1 away in round two.
Third round ties are scheduled to take place on February 6 and winning clubs who progress will receive £7000 from the FA's prize fund.
Third round draw: Torquay United v Truro City or Macclesfield Town; Grimsby Town v Havant & Waterlooville; Gateshead v AFC Fylde; FC Halifax Town or Barrow v Chester; Woking v Oxford City or Cheltenham Town; Dover Athletic v Guiseley Sutton United v Bognor Regis Town or Altrincham Bradford (Park Avenue) or Nantwich Town v Stourbridge