Domain formation in a one-dimensional superlattice