If Bala Town win their Europa League first qualifying round they will play the home leg of the second round at Cardiff City Stadium.
The Welsh Premier side's own Maes Tegid ground does not meet Uefa requirements.
Bala face Differdange 03 in the first round and travel to Luxembourg for the first leg on Thursday, with Rhyl hosting the return on 9 July.
Turkish side Trabzonspor await the winners, with Bala taking the home tie to Cardiff if they get through.
The Lakesiders would have preferred to play at Wrexham's Racecourse Ground as it is close to their north Wales home, but the Conference side cannot provide the necessary security.
Instead Bala will have to travel to the Welsh capital in the south if they can defeat Differdange.
Bala's chief executive, Nigel Aykroyd, said: "We've been mandated by the Welsh FA and by the police authorities that we would have to travel to Cardiff City Stadium.
"We've already signed a pre-match agreement along those lines.
"Wrexham were unable to provide the necessary security and the only other ground available to us was Cardiff City, who have agreed to stage the match should that be the case."