Skip to main content

Advanced Guide to Hosting your Custom Domain to Blogger


 This is really fantastic to tell you, today I did a small hack on Hosting Custom Domain with Blogger. You may be wondering why this topic name is given as Advanced Guide, because everyone knows if you have a control panel then you can easily mapped your domain to your blogger blog, its a common at all. Here is the tutorial for doing this Google Help Forum.

     But when you just purchased a domain from some registrar they don not give you a free control panel by default, you have to buy a hosting plan then you will get control panel access. But in this tutorial I am going to mapped my custom domain to newly created blog in blogger using some really fantastic web application that you can get it for free.

     This Gitspot.com is created using the same techniques. Here is the procedure for doing this
Steps are the Following....
0. First of all i am assuming that you have a domain http://www.gitspot.com/ purchase on xyz.com
1. Create a Blog on Blogger e.g., gitspot.blogspot.com
2. Create an Account on http://dns.he.net/
3. Go to your domain registrar xyz.com and Click on My Domains and then click on your domain name http://www.gitspot.com/ i.e., www.your-domain.com then in the below you will see four text boxes
  • Name Server 1: ns1.xyz.com
  • Name Server 2: ns2.xyz.com
  • Name Server 3:
  • Name Server 4:  
4. Replace this with the Following..
  • Name Server 1: ns2.he.net
  • Name Server 2: ns3.he.net
  • Name Server 3: ns4.he.net
  • Name Server 4: ns5.he.net
5. Now Log in to http://dns.he.net/ and in the Left Side Panel there is a Add New Domain button Click on that.
6. Then a page will pop up Now  just put gitspot.com i.e your-domain-name.com without www and click on Add Domain!
7. You are 75% done Now.
8. Now on the Home page of https://dns.he.net you will see gitspot.com i.e., your-domain.com Click on Edit Zone (Small edit icon)
9. Then you will see an Advanced DNS management tool
10. Click on New A on the top and one page will pop up and in there
  •  Name: put gitspot.com i.e., your-domain.com without www and in IP4 Address put 216.239.32.21 TTL 1 Hour 3600
  • Continue the above for these addresses 216.239.34.21 216.239.36.21 216.239.38.21 
  • Now Click on New CNAME and put www.gitspot.com i.e., www.your-domain.com in the Name and ghs.google.com in Hostname. TTL 1 Hour i.e 3600 is sufficient. :) 
11.  It should Look like this 

11. Now go to your Blogger Setting Click on Custom Domain, and then Advanced Settings add http://www.gitspot.com/ i.e., www.your-domain.com and Save it. After this it should look like this in Blogger settings


12. You are Done! Enjoy

Popular posts from this blog

The top 10 open source forum/bulletin/discussion software

The forum software is needed to build a discussion platform. There are many forum software which can be get freely on internet. Here I am going to list out some of 10 best forum software which you can be able to put it on your website.

1. Discourse:Discourse is an open sourceInternet forum software application founded in 2013 by Jeff Atwood, Robin Ward, and Sam Saffron. Discourse received funding from First Round Capital and Greylock.[3]
From a usability perspective, Discourse breaks with existing forum software by including features recently popularized by large social networks, such as infinite scrolling, live updates, oneboxing, expanding links, and drag and dropattachments.[4] However, the stated goals of the project are social rather than technical, to improve online discussion quality through improved forum software.
The application is written in JavaScript and Ruby on Rails,[5] and is released under the GNU General Public License version 2. PostgreSQL is the supported datab…

Java Code to Get MAC Address From Target IP Address

MAC Address is a Unique identification of a Device. Computer, Mobile, Tablet, PC all have a Unique MAC Address. If you want to know about MAC Address here is some, MAC on Wiki. MAC Address is generally 48 bits long eg, 00:ff:a3:f0:76:ae
Here we are going to discuss about How to get that address by using supplied IP Address over the network.
Here is the Java Code
GetMACAddress.java

import java.net.Inet4Address;
import java.net.InetAddress;
import java.util.Arrays;

import jpcap.*;
import jpcap.packet.*;

public class GetMACAddress{
    public static byte[] arp(InetAddress ip) throws java.io.IOException{
        //find network interface
        NetworkInterface[] devices=JpcapCaptor.getDeviceList();
        NetworkInterface device=null;

loop:    for(NetworkInterface d:devices){
            for(NetworkInterfaceAddress addr:d.addresses){
                if(!(addr.address instanceof Inet4Address)) continue;
                byte[] bip=ip.getAddress();
                byte[] subnet=addr.subnet.getAddress();

MySQL Database Connection at OpenShift Redhat Cloud using PDO Class

I was very unhappy when my code was correct but could not connect to my mysql database in openshift. But after trying some tricks it got to work. So I will share some tips that you can also put to your PHP MySQL application in openshift.
First thing to be noted is that when you create a PHP Application in OpenShift you will get some environmental variable. Which you can view them by using echo $ENV_NAME in the shell. Some of MYSQL DB Environmental variables in openshift clouds are follows. OPENSHIFT_MYSQL_DB_HOST
OPENSHIFT_MYSQL_DB_PORT
OPENSHIFT_MYSQL_DB_USERNAME
OPENSHIFT_MYSQL_DB_PASSWORD
OPENSHIFT_MYSQL_DB_SOCKET
OPENSHIFT_MYSQL_DB_URL You can Find more about it here OpenShift Variables
Considering we have database name 'gitspot' and have a table name having demo where there is a field 'name' and has a record 'RedHat Openshift' Now create a php file conf.php which contains all the Database Host Port etc and the way to connect using PDO Class. <?php
  …