If you'd like to direct a domain address that you have to another domain or subdomain, the best way to do this would be to use a CNAME record. By setting up such a record, the domain being forwarded loses all its records (A, MX, and so on) and instead, it takes the A record of the Internet domain it's pointed to. By doing this, if you use a web design service by some company that gives you a subdomain, you can use an actual domain name and not only will it be pointed to the site that you've created, but it'll also be displayed in the browser address bar at all times. Some other possible uses of a CNAME record are to direct all the traffic from different subdomains to their main Internet domain, or to use the webmail service of your hosting provider by using webmail.your-doman.com, for example. The latter will work only by creating a CNAME record for a subdomain because such a record created for the main domain address makes it impossible to use email addresses.

CNAME Records in Cloud Website Hosting
