If you want to point a domain that you have to a different domain or subdomain, one way to do that would be to use a CNAME record. By creating such a record, the domain name being forwarded loses all of its records (A, MX, and so forth) and instead, it takes the A record of the domain it is directed to. In this way, if you are using a web design service by some provider that gives you a subdomain, you can use an actual domain and not only will it be redirected to the website that you have created, but it'll also appear in the browser address bar at all times. Other possible uses of a CNAME record are to redirect all the traffic from various subdomains to their main domain, or to use the webmail service of your webhosting company by using webmail.your-doman.com, for instance. The latter will work only by creating a CNAME record for a subdomain simply because this kind of a record created for the main domain address makes it impossible to use e-mail addresses.
CNAME Records in Shared Web Hosting
Setting up a CNAME record with our Linux shared web hosting is really simple. Our in-house built Hepsia Control Panel includes a section devoted to the DNS records of your domain names, so you can create a new CNAME record for any domain or subdomain hosted inside your account in just a few basic steps. There is also a video tutorial in the same section where you can see the process first-hand. This feature offers you a variety of options - if you build a company website on our end, for instance, the employees can use their e-mails with the company domain name, not with the address of our mail server. If you decide to create a site using a different company that offers online web design services, you can easily redirect a domain name hosted here and use it for the site. 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 are able to set up a CNAME record for the www subdomain and direct it to the main domain, so all your visitors are going to be forwarded to a secure URL.