ref
early 19th century: from Spanish rancho ‘group of persons eating together’.
From ranch + -er.
rancher (n.)
1836, "owner of a ranch, person engaged in ranching;" see ranch (n.). Meaning "modern single-story house" is attested by 1955.