Use domain if supplied.