GoDaddy Inc. said Tuesday that Chief Operating Officer Scott Wagner will assume the company’s top post after Chief Executive Blake Irving retires at year’s end.

Mr. Irving, however, will remain on the technology company’s board through June 2018.

For Mr. Wagner, who joined GoDaddy from private-equity firm KKR & Co., it will be a second...