Generate CNAME file