A palace was (and is) a posh house (usually occupied by royalty or major nobility.
The name comes from classical Latin -- palatio, a posh Roman house, more usually in a city than the countryside, although Fishbourne outside Chichester in Hampshire, England, is the exception that "proves" the rule.