Setting up a CNAME record for any of the domains or subdomains you've got within a hosting account will allow you to redirect it to a different domain/subdomain. The forwarded domain name will lose all its records - A, MX and so on, and will take the records of the Internet domain it is being redirected to. In this light, you cannot set up a CNAME record to forward your domain name to a third-party company and retain a functional e-mail service with the first hosting company. It's also essential to know that a CNAME record is always a string of words rather than a number because it is often confused with the A record of the domain being forwarded. One of the main uses of a CNAME record is to forward a domain name that you own through one provider to the servers of some other company in case you have created a website with the latter. By doing this, the website 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 with our shared hosting plans is very simple. Our in-house built Hepsia CP includes a section committed to the DNS records of your domain names, so you can set up a new CNAME record for any domain or subdomain hosted in your account in only a few basic steps. You will find a video tutorial within the same section in which you can see the process first-hand. This feature will give you many options - if you set up a company site on our end, as an illustration, the workers can use their emails with the company domain, not with the address of our mail server. If you decide to set up a site using a different provider which offers online web design services, you can easily redirect a domain hosted here and use it for the website. Last, but not least, in case you have an on-line store and you have a billing system for http://your-domain.com and/or an SSL certificate, you'll be able to create a CNAME record for the www subdomain and point it to the main domain name, so all your visitors are going to be forwarded to a secure URL.