Cal. Civ. Proc. Code § 415.45
(a) A summons in an action for unlawful detainer of real property may be served by posting if upon affidavit it appears to the satisfaction of the court in which the action is pending that the party to be served cannot with reasonable diligence be served in any manner specified in this article other than publication and that: