Setting up a CNAME record for any one of the domain names or subdomains you've got within a hosting account will allow you to forward it to a different domain/subdomain. The forwarded domain will lose all its records - A, MX etc, and will take the records of the domain name it's being redirected to. In this light, you simply can't set up a CNAME record to redirect your domain to a third-party company and maintain a working e-mail service with the first hosting company. Additionally, it is very important to know that a CNAME record is always a string of words and never a number as it is commonly mistaken for the A record of the domain address being redirected. One of the main uses of a CNAME record is to forward a domain address you own through one provider to the servers of another company assuming you have created a website with the latter. By doing this, the website will appear under your own domain, not under some subdomain provided by the third-party company.
CNAME Records in Shared Hosting
Creating a CNAME record through our Linux shared hosting is extremely easy. Our in-house built Hepsia Control Panel 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 in your account in only a few simple steps. You can find a video tutorial within the same section where you can see the process first-hand. This feature offers you many opportunities - if you set up a company website on our end, for example, the employees can use their e-mails with the company domain, not with the address of our mail server. If you wish to set up an Internet site by using a different company that offers online web design services, you can easily forward a domain address hosted here and use it for the site. Last, but not least, in case you have a web-based store and you have a billing system for http://your-domain.com and/or an SSL certificate, you are able to create a CNAME record for the www subdomain and direct it to the main domain address, so all your visitors are going to be forwarded to a secure URL.
CNAME Records in Semi-dedicated Servers
The Hepsia hosting Control Panel, which comes with every one of our semi-dedicated server accounts, will enable you to set up a CNAME record without difficulty. When you want to create a private URL for your emails, to redirect a domain name to a subdomain in the account or to forward a domain to another provider and use some third-party service which they provide, it will not take you more than 3 mouse clicks to create this kind of record. All DNS records for the domain names and subdomains hosted within the semi-dedicated account are going to be listed in a separate section in the CP, so when you're there, all you will have to do will be to pick the type of the record that you want to create and the hostname for which you are creating it, and then enter the actual record text. For your benefit, you can see a short video within the Control Panel concerning how to set up a CNAME record or you can follow the instructions in the help article, that is available in the DNS records section.