How to Redirect Blogger to your Country Domain (LK Domain)
How a Blogger blog can be re-directed to a custom domain representing a country domain. This post is about how this blog, The Blogger Guide, was moved in to its current address in the .lk domain.
Basically, there are two steps.
Firstly, you should configure a CNAME (or Canonical Name) record with your country domain registry. (Additionally you can provide an A-record as well, but that is optional). Let's look at this in a bit more detail.
When a visitor want to reach www.techlanka.lk from a browser, the program will first contact a .lk domain registry through the DNS (Domain Name Service) system. Technically, this is called a DNS look-up. A DNS look-up simply maps a domain name(or URL) to a physical web hosting server which actually hosts the web site (or blog, or any Internet service for that matter) corresponding to that domain name. In this instance, the domain name www.techlanka.lk is hosted by Blogger and, the .lk domain registry should return the Blogger's hosting service as the reply to the DNS look-up. A CNAME entry is, in fact, an alias to another server which actually hosts the given URL.
DELETE this default entry from records
ADD these entry after deleting the above entry
Firstly, you should configure a CNAME (or Canonical Name) record with your country domain registry. (Additionally you can provide an A-record as well, but that is optional). Let's look at this in a bit more detail.
When a visitor want to reach www.techlanka.lk from a browser, the program will first contact a .lk domain registry through the DNS (Domain Name Service) system. Technically, this is called a DNS look-up. A DNS look-up simply maps a domain name(or URL) to a physical web hosting server which actually hosts the web site (or blog, or any Internet service for that matter) corresponding to that domain name. In this instance, the domain name www.techlanka.lk is hosted by Blogger and, the .lk domain registry should return the Blogger's hosting service as the reply to the DNS look-up. A CNAME entry is, in fact, an alias to another server which actually hosts the given URL.
DELETE this default entry from records
techlanka.lk. 86400 IN CNAME ghs.google.com.For example, the CNAME entry given to the .lk domain registry for this blog is given below.
ADD these entry after deleting the above entry
techlanka.lk. 86400 IN A 216.239.32.21
techlanka.lk. 86400 IN A 216.239.34.21
techlanka.lk. 86400 IN A 216.239.36.21
techlanka.lk. 86400 IN A 216.239.38.21
www.techlanka.lk. 3600 IN CNAME ghs.google.com.
Once this CNAME entry is configured, for every look-up request for www.techlanka.lk, the .lk domain registry (or the name server) will return ghs.google.com (technically, that's another domain name which needs to be resolved, but that is not relevant for this post).
Secondly, you have to tell Blogger that you will be hosting the blog on a custom domain. This step will link your blog with the custom domain name. When that is done, Blogger will know that a request asking, for example www.techlanka.lk, is actually looking for this blog which is running inside its servers.
The way to configure the custom domain in Blogger is very simple.
Go to Settings : Basic : Publishing
Click "Switch to advanced settings"
Enter the custom domain name and click Save.
Once the above two steps are completed, you are done with moving your Blogger blog to a custom domain. Of course, the DNS system might take upto 24 hours to properly start resolving this new name.
See the Blogger's help article on custom domains for more details. More information email us at [email protected]
Secondly, you have to tell Blogger that you will be hosting the blog on a custom domain. This step will link your blog with the custom domain name. When that is done, Blogger will know that a request asking, for example www.techlanka.lk, is actually looking for this blog which is running inside its servers.
The way to configure the custom domain in Blogger is very simple.
Go to Settings : Basic : Publishing
Click "Switch to advanced settings"
Enter the custom domain name and click Save.
Once the above two steps are completed, you are done with moving your Blogger blog to a custom domain. Of course, the DNS system might take upto 24 hours to properly start resolving this new name.
See the Blogger's help article on custom domains for more details. More information email us at [email protected]
Post a Comment