Frequently Asked QuestionsDNS

What is a CNAME DNS record?

A CNAME DNS record redirects a domain or subdomain to another domain, simplifying DNS management and ensuring flexibility in the configuration of web services.

11
Views 2532Updated 9 luniPublished on 26/07/2018by Sebastian Szlivka

A CNAME (Canonical Name) DNS record is used to redirect a domain or subdomain to another domain or subdomain. This simplifies DNS management and allows flexibility in configuring web services, such as redirecting to a specific server.

For example, if we want the subdomain www.exemplu.ro to redirect to the main domain exemplu.ro, we can add the following record in the DNS zone:

www IN CNAME exemplu.ro

In this case, all requests addressed to the subdomain www will be automatically redirected to the main domain, without requiring additional configurations.

Another common scenario is the redirection of subdomains used for email services, such as mail.example.com, imap.example.com, or smtp.example.com, to the domain name of the email server. This is done by adding similar records in the DNS zone:

mail IN CNAME mailserver.example.comimap IN CNAME mailserver.example.rosmtp IN CNAME mailserver.example.ro

Using CNAME records is an effective and common practice to ensure consistency and to avoid the need to manage multiple IP addresses in DNS configurations. However, it is important to mention that CNAME records cannot be used for the root domain (for example, example.ro), as DNS standards prohibit this practice.

If you need assistance in properly configuring the DNS records for your domain, the Hostico team is always available to help you.

Similar Articles

What do IPV4 and IPV6 mean, and what is the difference between them?Frequently Asked Questions /Dev

IPv4 and IPv6 are protocols for identifying devices on networks. IPv4, with 32 bits, faces address exhaustion, while IPv6, with 128 bits, offers many more options.

34
by Sebastian Szlivka
Views 18852
Updated 2 months ago
Published on 24/04/2019
What are the Hostico nameservers?Frequently Asked Questions /Random

Discover Hostico nameservers for Start, Business, Reseller, and VPS hosting packages. Find out how to set them up and the propagation time.

28
by Sebastian Szlivka
Views 5126
Updated 1 year ago
Published on 11/07/2018
Do you create websites?Frequently Asked Questions /Random

We offer a website building application, but not web design services. Contact a web development company for specific needs.

13
by Andrea Zemba
Views 1578
Updated 3 years ago
Published on 25/07/2018
What is recurring payment?Frequently Asked Questions /Commercial

Recurring payment allows automatic debit of the card for service renewal, simplifying invoice management and receipt via email.

11
by Mark Dohi
Views 22019
Updated 1 year ago
Published on 11/11/2020
I wish to transfer a service from my account to another client, how do I proceed?Frequently Asked Questions /Commercial

In this article, we will explain the steps that need to be followed to transfer a service from one client account to another.

11
by Mark Dohi
Views 1687
Updated 1 year ago
Published on 17/07/2018