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 :
- Name “@” points to “220.127.116.11”
- Name “@” points to “18.104.22.168”
- Name “@” points to “22.214.171.124”
- Name “@” points to “126.96.36.199”
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.
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.
- In the next window , click on set up third party URL
- 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 :
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:
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.
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.