No building or land shall, after the effective date of this chapter, except for existing nonconforming uses, be used or occupied, and no building or part thereof shall be erected, moved, or altered, unless in conformity with the regulations herein specified for the district in which it is located, and then only after applying for and securing all permits and licenses required by all laws and ordinances.