Rangers will play Progres Niederkorn of Luxembourg in the Europa League first qualifying round.
Pedro Caixinha’s side will begin their competitive campaign with the first leg on June 29 before the second leg away on July 6.
Fellow Ladbrokes Premiership side St Johnstone will face FK Trakai of Lithuania in their tie, also at home in the first leg.
Welsh Cup winners Bala Town were drawn against Vaduz of Liechtenstein while Derry City will play Danish outfit Midtjylland.
Northern Irish sides Coleraine and Crusaders will face Haugesund of Norway and Latvian side FK Liepaja respectively.
The draw was made at the headquarters of European governing body UEFA in Nyon on Monday.
Ballymena United will also face Norwegian opposition in Odd.
Welsh teams Connah’s Quay Nomads and Bangor City were also involved in the draw and will play HJK Helsinki and Lyngby of Denmark respectively.
Shamrock Rovers were drawn against Stajarnan of Israel, with Cork City paired with Estonia’s Levadia Tallinn.
Aberdeen, after finishing second in the Scottish Premiership, will enter the competition at the second qualifying round stage.
They will play play the winners of the tie between Ordabasy Shymkent of Kazakhstan and Siroki Brijeg from Bosnia.
The Dons will host the first leg at Pittodrie on July 13 with the return the following week.