Again, there are three domains afaik: Prokaryotes, archaea, eukaryotes.
The three-domain system divides life in Archaea, Bacteria, and Eukarya. In this system, Archaea and Bacteria can be grouped together as prokaryotes.
In the two-domain system, the division is between Archaea and Bacteria. In this case, eukaryotes are seen as a subgroup of Archaea.
Hope to have cleared up some of the confusion.
> Archaea (/ɑːrˈkiːə/ (listen) ar-KEE-ə; SG: archaeon /ɑːrˈkiːən/ ar-KEE-ən) is a domain of single-celled organisms. These microorganisms lack cell nuclei and are therefore prokaryotes.