Rangers will play Genk or Servette in their Champions League third round qualifier.
The Glasgow side will host the first leg on August 8/9, with the return fixture in Belgium or Switzerland on August 15.
Michael Beale’s men were among the seeded sides for the draw after Rangers’ run to the Europa League final in 2022.
The winners will progress to the play-off stage of the competition, with the draw taking place on Monday, August 7.
Should the Ibrox side be unsuccessful in either the third qualifying round or play-off, they will go into the Europa League group stage – where they would likely be in Pot 1.
Last season, Rangers negotiated a third-round qualifier and a play-off against PSV Eindhoven to make it into the Champions League group phase for the first time since 2010.
Rangers will kick off their Scottish Premiership campaign against Kilmarnock at Rugby Park on August 5.