Setting up a CNAME record for each of the domain addresses or subdomains that you've got in a hosting account will permit you to redirect it to a different domain/subdomain. The forwarded domain address will lose all its records - A, MX etc, and will take the records of the domain address it's being redirected to. In this light, you simply can't set up a CNAME record to direct your domain name to a third-party company and retain a working e-mail service with the first hosting provider. Also, it is important to note that a CNAME record is always a string of words and not a number because it is generally confused with the A record of the domain address being forwarded. One of the main uses of a CNAME record is to point a domain that you own through one company to the servers of another provider assuming you have set up a site with the latter. That way, the site will appear under your own domain address, not under some subdomain provided by the third-party company.
CNAME Records in Shared Hosting
Creating a CNAME record through our Linux shared packages is quite simple. Our in-house built Hepsia CP has a section devoted to the DNS records of your domains, so you can set up a new CNAME record for any domain or subdomain hosted inside your account in a couple of simple steps. You can find a video tutorial within the same section where you can see the process first-hand. This feature offers you a number of options - if you create a company site on our end, for instance, the workers can use their e-mails with the company domain address, not with the address of our mail server. If you wish to set up a site by using a different company which offers online web design services, you can easily forward a domain address hosted here and use it for the website. Last, but not least, if you have a web-based store and you have a billing system for http://your-domain.com and/or an SSL certificate, you may create a CNAME record for the www subdomain and point it to the main domain name, so all your customers are going to be forwarded to a secure URL.