The difference between a name and C name of DNS _ network

Source: Internet
Author: User
Tags aliases
1, what is the domain name resolution.

Domain name resolution is the international domain name or domestic domain name, as well as Chinese domain name application after the IP address of the conversion process. IP address is the network to identify your site digital address, in order to simply remember, the use of domain names to replace the IP address identification site address. Domain name resolution is done by the DNS server.

2, what is a record.

A (address) record is a record of IP addresses that specifies the host name (or domain name). Users can point to the site server under this domain name to their own Web server. At the same time you can set your domain name level two domain name. 3, what is the CNAME record.

That is: Alias record. This record allows you to map multiple names to another domain name. A computer that is typically used to provide both the WWW and mail services. For example, there is a computer named "Host.mydomain.com" (a record). It also provides WWW and mail services to facilitate user access to services. You can set two aliases for this computer (CNAME): www and mail. The full name of the two aliases is http://www.mydomain.com/and "mail.mydomain.com". In fact, they all point to "host.mydomain.com". 4, using a record and CNAME for the difference between domain name resolution

A record is to resolve a domain name to an IP address (addresses, special digital IP address), and CNAME record is to resolve the domain name to another domain name. Its function is similar, CNAME several host names to an alias, in fact, is the same as pointing to the IP address, because the alias will also do a a record. But using CNAME records makes it easy to change IP addresses. If a server has 100 Web sites, they all alias, the server changes IP, only need to change the alias a record. 5, use a record and CNAME which good.

Domain name resolution CNAME record a record which is better. If the impact on the site, there is no big difference. But: CNAME has the advantage of being stable, just like the difference between an IP and a domain name. The service provider from the convenient maintenance angle, generally also advises the user to use CNAME to record the binding domain name. If the host uses dual-line IP, it is obvious that the use of CNAME is also more convenient.

A record also has some benefits, for example, you can enter the domain name without entering www. To visit the website. From the perspective of SEO optimization, some search engines such as Alex or some search query tool sites and so on are automatically removed WWW. To identify the site, CNAME records must be like: www (alias) prefix domain name, sometimes encounter such trouble, prefix removed the default Web site can not be accessed.

Some people think that when SEO optimization site, because the search engine can not find out the www. The domain name, the weight of the site will also have some impact. Because some netizens also do not like to write more than three W to visit the site, the site can not visit a small number of netizens will give up to continue to try to add www. Access to the domain name, so the number of Web site visits will also be reduced.

Some people also think that the same domain name plus www. and no www. Visiting the website also makes the website weight dispersed, which is also a problem. However, you can use the 301 jump without www. Jump to add www. The domain name, the problem is solved.


Original: http://blog.xieyc.com/differences-between-a-record-and-cname-record/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.