The Republic of Ireland will play in Bosnia or Windsor Park if they reach the Euro 2020 play-off final, following a draw for home advantage in Nyon today.
Mick McCarthy's men must beat Slovakia away in a one-off semi-final on Thursday, 26 March 2020.
If they advance, they will face the winners of the Bosnia and Herzegovina v Northern Ireland clash on Tuesday, 31 March.
Elsewhere, the winners of Norway/Serbia will be at home to Scotland or Israel.
Bulgaria/Hungary will welcome Iceland or Romania while Georgia/Belarus will host North Macedonia/Kosovo.
Dublin is one of 12 host cities for next year's Championships and Ireland are guaranteed two games at the Aviva if they qualify.
Bosnia have hosted games in both Zenica (capacity 15,600) and Sarajevo (34,500) in recent times while Northern Ireland play their home games in Windsor Park (18,500).
Ireland drew 1-1 with Bosnia in the fog in Zenica in November 2015 before a Jon Walters double in the return leg secured a spot at Euro 2016.
The Republic last played in Belfast in a Euro '96 qualifier in 1995, winning 4-0, but the tense 1-1 draw that ensured qualification for the 1994 World Cup has had a more enduring place in Irish memories.
Ireland finished third in Group D behind Switzerland and Denmark but have earned a second chance at qualification thanks to competing in UEFA Nations League B and higher-ranked teams qualifying automatically.
Ireland have met Slovakia four times - sharing three draws and claiming one win - and McCarthy expects the sides to be evenly matched.
"(It will be a) tough game. People have been saying to me: 'You'll be playing one of the poorer sides, one of the third teams in the group' 'Yeah', I said. 'Exactly like us, that’s what we were'.
"So I think it’s a level playing field, to be quite honest, with the set-up they’ve got, they’ve got the home tie."
As for a potential island of Ireland derby, McCarthy told BBC Sport NI: "Let's hope we can get it on.
"I think it's a game that would be fabulous. It would be great to be involved in.
"I'm sure both the lads from Northern Ireland and us from the Republic would love to play that game and it would be one of us going to the Euros.
"Hopefully us, as it's in Dublin."