first working implementation, CNAME file now works