The usage of cname in Domain name Resolution
This article mainly introduces the use of domain name resolution cname, which is very detailed and has a certain reference value. Friends who are interested must read it!
How to use cname for domain name resolution? Domain name resolution cname records, that is, alias records, map multiple names to the same host. Generally, when the domain name is resolved to the virtual host, there are more CNAME records.
CNAME record, there are "hostname", "corresponding value", "TTL" and other parts.
For example, let's take yisu.com as an example to briefly introduce how to use cname for domain name resolution.
For example, to make www.yisu.com resolvable, we need to add a resolution record of the name "www" to the domain name resolution.
Add "www" to the hostname, select CNAME record for resolution type, select the resolution address of the virtual host by default, and select the resolution address of the virtual host for the corresponding value. TTL value is generally 10-15 minutes, that is, 600-900s, with a default of 900s.
After this is added, it means that the www.yisu.com resolution is successful. If the corresponding domain name binding is completed, then you can use www to access it.
What if you need to access it without www?
Then you need to add an "@" resolution to the domain name resolution. @ generally means that the host name is empty. When we fill in the host name and leave it blank, the system will automatically fill in "@".
The above is all the contents of domain name resolution cname usage, thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!