Difference between a A Name and CNAME


 CNAME(Canonical Name), is nothing but a Authorized(Legalized) name for any DNS URL. 
& A is the actual DNS name assigned to a IP address, in other words it points to a specific IP address for an URL.

Lets see the difference between both of them.

 For example the IP address of an URL cloudbasic.com is 168.255.5.3, this can be configured as A.



cloudbasic.com.      A        168.255.5.3

  And CNAME as mentioned earlier is a Canonical name that can be given the original URL. Lets consider when a user is looking for cloudinfra.com and we need it to redirect it to cloudbasic.com,then we can use CNAME commend.


cloudbasic.com.      CNAME   cloudinfra.com
cloudinfra.com.        A     168.255.5.3

Comments

Popular posts from this blog

Azure Question Set

When to opt-in for cloud services

What are Cloud Services