Homology traditionally refers to evolution from a common ancestor by vertical descent (e.g., gene duplication and speciation), but multidomain proteins evolve via both vertical descent and domain insertion.
Figure 1 depicts two genes, a and b, which share not only a homologous domain but also a common ancestral gene.