How to Completely Setup Custom Domain with Blogger?

Complete Guide to Setup Custom Domain with Blogger.com

In our previous topic of Blogger, we took an Overview of Blogger Dashboard. Now, in today’s tutorial we’ll guide you that How to Completely Setup Custom Domain with Blogger. We will discuss two different ways of setting up custom domain with blogger.

The first way will guide to setup custom domain using your domain registrar DNS and the second way will guide you through the steps of setting up custom domain using Cloudflare. We will recommend second method.

What is Domain Name?

A domain name is an identification string that defines a authority within the internet. Domain name identifies one or more IP Addresses provided to you by your Web Hosting Company.

For example aavidtutorials.com is domain name. We are pointing it to cloudflare nameservers and from there we had pointed our domain to our web hosting through IP Address, however that IP address is shared between different domain names.

What is DNS (Domain Name System)?

DNS is a Domain Name System in terms of internet, it helps you manage your domain A, AAAA, CNAME, MX and many other records. Those records helps in setting up your domain name to serve contents and start sending emails.

In this topic, we will make use of CNAME records to point our domain name to blogger.com.

What is NS?

NS stands for Nameservers which helps you to point your domain DNS to your hosting or any other DNS manager like cloudflare.

Difference between A records and NS records?

A records helps you to point your domain name to the IP address of your hosting service. After pointing your IP address you will be able to host your domain with your hosting company but you won’t be able to use there DNS manager for handling DNS records, you will have to use DNS records of your domain registrar.

Nameservers on the other side, not just helps you to host your domain with your hosting company but they also allow you to use there DNS manager. However, you can use NS to point your domain to other DNS manager for improving DNS lookup time.

Now, let’s move towards our topic of setting up custom domain name with blogger. Before getting started, you must have domain name. You can get one from freenom, namesilo, namecheap, porkbun etc.

1 1st Method – Domain Registrar DNS

1st Method – Domain Registrar DNS

This step will guide you that How to Completely Setup Custom Domain with Blogger using Domain Registrar DNS manager.

  1. Go to blogger.com
  2. Sign in to your blogger account from which you made your website.
  3. Navigate to the “Settings” of your website from blogger dashboard.
  4. Scroll down to the publishing section.
  5. Click on the “Custom Domain” option.
  6. Add your domain name in the field and click on the “Save” button.

    Note: You must use subdomain or www with your domain else it won’t be added.

  7. You will get two CNAME records in the error message which you will have to add.
  8. The error message will look like.

    We have not been able to verify your authority to this domain. On your domain registrar’s website, locate your Domain Name System (DNS) settings and enter the following two CNAMEs: (Name: www, Destination: ghs.google.com) and (Name: mauw2gkrsaip, Destination: gv-kbfemu4u4hmme2.dv.googlehosted.com). See https://support.google.com/blogger/answer/1233387 for detailed instructions.

  9. From the above error message we found two CNAME records to be added.
    1. www                                    CNAME                ghs.google.com
    2. mauw2gkrsaip               CNAME                kbfemu4u4hmme2.dv.googlehosted.com
  10. Now, open your domain registrar website and login.
  11. Go to client area.
  12. Navigate to “Manage DNS Records”.

    Every domain registrar have different interface but you will be able to find DNS manager in there client area.

  13. Now, add two CNAME records as founded in the error message.
  14. After adding CNAME records, click on the “Save Changes” button.
  15. Now navigate back to the tab where you were adding custom domain.
  16. Click on the “Save” button to save your custom domain.

    DNS Propagation take some time, in some cases it takes 24-48 hours, so you will have to wait for DNS propagation to complete.

  17. After adding domain, it will take sometime to become active.
  18. From “HTTPS” section, enable both “HTTPS availability” and “HTTPS redirect” options.
  19. From “Publishing” section enable “Redirect Domain” option to redirect yourdomain.tld to www.yourdomain.tld

2 2nd Method – Using Cloudflare

2nd Method – Using Cloudflare

This step will guide you that How to Completely Setup Custom Domain with Blogger using Cloudflare.

  1. Go to blogger.com
  2. Sign in to your blogger account from which you made your website.
  3. Navigate to the “Settings” of your website from blogger dashboard.
  4. Scroll down to the publishing section.
  5. Click on the “Custom Domain” option.
  6. Add your domain name in the field and click on the “Save” button.

    Note: You must use subdomain or www with your domain else it won’t be added.

  7. You will get two CNAME records in the error message which you will have to add.
  8. The error message will look like.

    We have not been able to verify your authority to this domain. On your domain registrar’s website, locate your Domain Name System (DNS) settings and enter the following two CNAMEs: (Name: www, Destination: ghs.google.com) and (Name: mauw2gkrsaip, Destination: gv-kbfemu4u4hmme2.dv.googlehosted.com). See https://support.google.com/blogger/answer/1233387 for detailed instructions.

  9. From the above error message we found two CNAME records to be added.
    1. www                        CNAME                ghs.google.com
    2. mauw2gkrsaip               CNAME                kbfemu4u4hmme2.dv.googlehosted.com
  10. Go to Cloudflare Dashboard.
  11. Login or signup with cloudflare.
  12. After logging in or signing up, click on the “Add a Site” button.
  13. After that, enter your domain name in the field, e.g. aavidtutorials.ml

    Subdomains not allowed!

  14. Click on the “Add Site” button.
  15. Select your desired plan. I went with “Free” plan.
  16. Click on the “Continue” button.
  17. It will scan for existing DNS records.
  18. If you have already went with first method, then it will fetch “www” CNAME record and the second one you will have to add manually. If you haven’t went with first method, then you have to add both CNAME records.
  19. After adding CNAME records de-proxy them from cloudflare.
  20. Click on the “Continue” button.
  21. Copy Cloudflare’s nameservers.
  22. Go to your domain registrar client area and login.
  23. Navigate to “Nameservers” section.

    Every domain registrar have different interface so text of section can be different but it will include “Nameservers” in it.

  24. Add your cloudflare nameservers in respective fields. e.g. First NS record of cloudflare will go in first field of “Nameservers” section and Second NS record of cloudflare will go in second field of “Nameservers”.
  25. After adding Nameservers, click on the “Done, Check Nameservers” button.

    DNS Propagation will take sometime. Usually it takes few hours but in some cases it can take 24 to 72 hours. You will have to wait for DNS propagation to complete

  26. After that, you have to set basic settings for security and performance.
  27. After setting it up, click on the “Continue” button.
  28. It will take sometime for the domain to become active with blogger so you have to wait for that.

    Follow next steps only if you have setup your domain as www.yourdomain.tld instead of subdomain.

  29. After adding domain with blogger, you may want to redirect “maindomain.tld” to “www.maindomain.tld” as your site will be serving through that. e.g. “aavidtutorials.ml” to “www.aavidtutorials.ml”.
  30. For that, go to DNS section of your website from cloudflare dashboard.
  31. Add this CNAME record.
    @                        CNAME                www.@
  32. After adding this CNAME record, navigate to “Rules”
  33. Click on the “Create Page Rule” button.
  34. Add the following rule.
    If the URL matches:
    yourdomain.tld/*
    
    Then the settings are:
    Forwarding URL           301 - Permanent Redirect
    https://www.yourdomain.tld/$1
  35. Through above rule we are redirecting any traffic to yourdomain.tld to www.yourdomain.tld. e.g. aavidtutorials.ml to www.aavidtutorials.ml
  36. After adding that rule, click on the “Save” button.
  37. Now you are done!

Final Words:

Thanks for watching my video tutorial and going through my guide on How to Completely Setup Custom Domain with Blogger?. I had tried my best to make everything as simple as possible. If you think anything is missing or you need any type of help regarding this article then feel free to leave comment and I’ll be happy to assist you. Your feedback and comments inspire us to write more articles. Keep Supporting us.

Leave A Reply

Your email address will not be published.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More