Creating CNAME after the directory exists is a better idea.