add cname and edit config