How to add a custom domain to google blogspot using DNS?

How to add a custom domain to google blogspot using DNS?

Adding a custom domain to google blogger may be a bit complicated if you are new and have no basic knowledge about DNS. Even I had to try hard to find a solution to point my godaddy domain to my blogspot. I removed my domain from cloudflare which was using Cloudflare nameservers. In order to point my the to google blogger I had to use godaddy’s default nameservers which I later changed using DNS and replaced with custom records .
In this post , I am going to demonstrate how you can easily point your domain to google blogger .

adding a custom domain to google blogspot

To add a custom domain to google , first of all you need to add DNS A records to your domain pointing to Google Ip adresses.
Go to the domain management pannel of your domain hosting provider and open DNS settings to add the following four A records which point to Google IP adresses :

The following screenshot from my Godaddy cpanel shows 4 google A records :

Google A record godaddy

  1. Name “@” points to “216.239.32.21”
  2. Name “@” points to “216.239.34.21”
  3. Name “@” points to “216.239.36.21”
  4. Name “@” points to “216.239.38.21”
  5. Open you DNS settings, and choose record A to add :

    Name Add @ in the name field.
    Points to In this field you can add a google which I mentioned.
    TTL Add Automatic or Custom in this field.
    Time In this field add 3600 or leave blank if this field is automatically updated.

The godaddy screenshot bellow will help you edit DNS A records manually.

Godaddy Google DNS A

After adding DNS records successfully, the next step is to varify your domain on google blogger.

Go to blogger.com and select the blog you want to point the domain to.

  • Click on the settings to navigate to custom URL setting page.
    Blogger settings

  • In the next window , click on set up third party URL
    Blogger custom domain settings
  • Now you will be asked to enter your domain name. Note that you can only add a subdomain here for example www.yourdomain.com a naked domain like yourdomain.com isnt allow but you can later redirect your naked domain to www subdomain using blogger redirects if you want your non-www domain to be your blogger URL.
    Add your subdomain to the input field and press submit :

    Google blogger settings

You will get an error response from google . This is because you still need to varify your domain. There is one more last stap to complete. To varify the domain Copy the two CNAME records you will see on your screen. The value of CNAME records can vary domain to domain . You will need to add these records in your domain as CNAME.

Go to your domain dashboard and open DNS settings to add two CNAME records . These two CNAME records tell google that you are owner of the domain.

Here is how I set blogger CNAME on my godaddy:

Blogger CNAME

After you have added these CNAMEs successfully, go to you the blogger setting again and click on the “add custom url” add the domain again and press submit. If everything goes fine you will see a Successful message on the setting page.
If you get the same error again then chances are that you either added wrong A or CNAME records or your server DNS propagation is under process. Recheck your DNS settings if these settings are ok then wait a few minutes. If you still see the error then there is something that is preventing google from varifing your domain. In that case you can use an alternative method to varify your domain. Download a TXT record and add that to DNS settings in your Domain.

Other methods to varify domain on blogger

If for some reasons you are unable to varify your domain ownership using CNAME, you can use other alternative methods to tell google you own the domain.
Go to serach console link , you will find the link on the custom domain settings page.
setting domain on blogspot

Click on the “search console link” in blogger settings to reach google search console dashboard , on the console, The following is screenshot of google search console :

On the console you can manully varify your domain giving google permission to communicate to your domain host. Select your domain register name from the dropdown option menu and click varify. Google will then ask for your permission to edit DNS records on your domain. This process only takes a few seconds. Once your domain is varified , go again to your blogger dashboard and add the domain. That is all.

Hope this post was helpful. Thanks for reading.

6 Responses

  1. online marketing says:

    Great post.

  2. Paul Ham says:

    Hi! This is actually a REAL COMMENT, not another spam one like the rest!
    I have entered the details on my registrar site ok, but when i tried to follow your instructions for blogspot, the CNAME part, I get a different result than you show in your images.
    Let me explain.
    After I enter my ‘third party domain’, I get an error like you stated, but I do not get any CNAME information too!? Nothing!

    *****EDIT*****
    I just googled for a bit and found the info in Google’s help. I hope you don’t mind me copying the relevant part here, for others that may have a similar problem. Perhaps you could just chsnge the info in this post to reflect the way blogspot now handles this. It doesn’t show the cname information on the page any more, just on Google’s help site.
    Here it is.

    ‘Connect to your non-Google domain from Blogger
    Sign in to Blogger.
    Select the blog you want to update.
    On the left, click Settings and then Basic.
    Under “Publishing,” click + Setup a 3rd party URL for your blog.
    Type the URL of the domain you’ve purchased.
    Click Save.
    You’ll see an error with two CNAMEs.
    Name, Label or Host: Enter the name as the subdomain, like “blog.” or “www.” For destination, enter “ghs.googlehosted.com.”
    Destination, Target or Points to: This is different for each person and is specific to your blog and your Google Account.
    Go to the website where you bought your domain. Find the DNS (Domain Name System) in the control panel.
    Under “Name, Label or Host,” type the subdomain you entered in the previous step.
    Under “Destination, Target or Points to,” type “ghs.googlehosted.com.”
    Enter details for the second CNAME, which are specific to your blog and Google Account.
    Wait for at least an hour for your DNS settings to activate.
    Repeat steps 1 through 6. Your blogspot.com address will redirect to your custom domain. It may take to 24 hours.
    Step 3 (optional): Add www. to your domain
    To change your domain
    example:
    example.com

    to

    http://www.example.com

    set up a naked redirect.​

    Go to your domain provider’s website.
    Open your DNS settings.
    Enter your domain name in the format example.com.
    Add four A-records which point to Google IPs.
    216.239.32.21
    216.239.34.21
    216.239.36.21
    216.239.38.21
    Sign in to Blogger.
    Select the blog you want to update.
    On the left, click Settings and then Basic.
    Under “Publishing,” under “Blog Address,” check Redirect (example.com to http://www.example.com ).’

    There.
    One last thing for me to say.
    THANK YOU THANK YOU THANK YOU!
    Your site really helped me to easily work this stuff out. Some sites I read first made it all so confusing and overly complex. You have a great site here and I offer my gratitude and appreciate it very much.
    I will bookmark your blog and revisit regularly.(i havent checked but I hope you still post!)
    Many thanks,
    Take care,
    Paul

  3. Hollie says:

    Hi, just wanted to tell you, I loved this blog post. It was helpful.
    Keep on posting!

  4. online via gmail says:

    Hey I know this is off topic but I was wondering if you knew of any
    widgets I could add to my blog that automatically tweet my newest twitter updates.
    I’ve been looking for a plug-in like this for quite some time and
    was hoping maybe you would have some experience with something
    like this. Please let me know if you run into anything.
    I truly enjoy reading your blog and I look forward to your new updates.

    • amitoverflow says:

      Hello ! There is no such widget. You need to use twitter web APIs to automatically post your tweets from website to twitter.

  5. User says:

    you are truly a just right webmaster. The web site loading speed
    is amazing. It seems that you’re doing any unique trick.
    Moreover, The contents are masterpiece. you’ve done a great activity on this subject!

Leave a Reply

Your email address will not be published. Required fields are marked *