Whenever it shall be necessary for the city to proceed under sections 10-5 and 10-6 and the owner of the property or other person responsible therefore, resides outside the city limits, or cannot be found after diligent search, service of the notice required by section 10-5 shall be made by posting a copy of the notice in the legal publication for the city, once a week for four (4) consecutive weeks, the last notice to be not longer than ten (10) days nor less than one (1) day prior to the hearing. Where the address of the person to be served is known, or where there is a last known address, a copy of the notice shall also be mailed to the person at such address by certified mail. In all cases where personal service cannot be made upon such person within the city limits, the case shall proceed as quasi in rem, and the execution shall issue in rem.