If you wish to direct a domain name that you have to some other domain address or subdomain, the best way to do this would be to use a CNAME record. By setting up such a record, the domain address being forwarded loses all of its records (A, MX, and so forth) and instead, it takes the A record of the domain it's directed to. This way, if you use a web design service by some provider that gives you a subdomain, you can use an actual domain and not only will it be directed to the website that you've created, but it'll also be displayed in the browser address bar at all times. Alternative possible uses of a CNAME record are to redirect all the targeted traffic from different subdomains to their main Internet domain, or to use the webmail service of your webhosting company by using webmail.your-doman.com, for example. The latter will work only by creating a CNAME record for a subdomain simply because this type of a record set up for the main domain name renders it impossible to use e-mail addresses.
CNAME Records in Website Hosting
Setting up a CNAME record through our Linux website hosting is really simple. Our in-house built Hepsia CP features a section devoted to the DNS records of your domain addresses, so you can set up a new CNAME record for any domain or subdomain hosted inside your account in only a few basic steps. There is also a video tutorial in the same section in which you can see the process first-hand. This feature offers you a variety of options - if you set up a company website on our end, as an illustration, the employees can use their emails with the company domain address, not with the address of our mail server. If you want to set up a website through a different provider which offers online web design services, you can easily redirect a domain address hosted here and use it for the website. Last, but not least, if you have an online store and you have a billing system for http://your-domain.com and/or an SSL certificate, you'll be able to set up a CNAME record for the www subdomain and forward it to the main domain name, so all your clients will be forwarded to a secure URL.