update cname and config file for domain