Switch from domain to origin in yaml file.