Skip to main content

The Simplicity Of A Custom Domain Setup

Custom domain publishing is a very simple way to give your Blogger blog a non BlogSpot URL - when you follow the recommended procedure.

Along with the simplicity, you'll find rather rigid requirements, when any alternative procedure is used.

Too many blog owners, unfamiliar with the complexity of the custom domain infrastructure, try to "fly by the seat of their pants", when they see a requirement that they don't understand.

Improper domain setup, caused by bad decisions, is how many custom domain publishing problems start.

First, understand some of the most common mistakes, made by too many blog owners. Blog owners in the USA may use Google Domains, though others must purchase directly from a registrar.

That reality does not change any of the necessities of proper domain setup, however. Substituting for "Buy a domain", Blogger offers instructions, in How do I use a custom domain name for my blog?.

There are 3 - and only 3 - supported DNS Models.

To understand the significance of the mistakes that are commonly made, first understand the three basic DNS models, involved in custom domain publishing.

  1. Published To Domain Root - Symmetrical DNS Configuration. The most obvious configuration uses a symmetrical DNS structure - dual "CNAME" referrals.
    mydomain.com. 3600 IN CNAME ghs.google.com.
    www.mydomain.com. 3600 IN CNAME ghs.google.com.
  2. Published To Domain Root - Asymmetrical DNS Configuration, aka "Google Apps". If you have a domain with email, FTP, and other possible auxiliary services, you use an asymmetrical structure, which use Google Apps to let you add auxiliary services, with quadruple DNS server redundancy.
    mydomain.com.  3600 IN A 216.239.32.21
    mydomain.com.  3600 IN A 216.239.34.21
    mydomain.com.  3600 IN A 216.239.36.21
    mydomain.com.  3600 IN A 216.239.38.21
    www.mydomain.com. 3600 IN CNAME ghs.google.com.
  3. Published To Non Root Virtual Host. If you wish to add an additional blog to the domain, maybe to add your Blogger blog to your web site, you setup an additional virtual host.
    blog.mydomain.com. 3600 IN CNAME ghs.google.com.

The "Buy a domain" wizard produces an Asymmetrical Configuration. Choice of any one of the three above models determines what URL you may publish the blog.

The published URL, when setup wrong, produces most symptoms.

The published URL is one of the most frequent causes of problems. Do not make any of these mistakes.
  • Only publish to a URL defined by "CNAME" referral to "ghs.google.com".
    The referral target, spelled properly, is essential.

    • Only ghs.google.com
    • Not ghs.l.google.com
    • Not www.ghs.google.com
    • Not ghs.blogger.com
    • Not ghs.blogspot.com
    • Not ghs.gogle.com
    • Not ghs.gooogle.com
    • Not any of a myriad other variations in spelling.
  • Do not publish to a URL defined by "A" referral to the "216.239.nn.21" servers.
  • The "CNAME" referral must target "ghs.google.com", absolutely.
    • Only ghs.google.com
    • Not ghs.google.com.yourdomain.com
    Understand how to define an absolute referral target.
  • The "CNAME" referral must target "ghs.google.com", directly.
    • Only ghs.google.com
    • Not yourdomain.com
    Do not target the domain root, or any other indirect address.
  • Understand how to define a referral host.
  • Only publish to a referral host using lower case letters.

The domain root, in an asymmetrical DNS model, is similarly crucial.

If you use an asymmetrical DNS addressing, target only the four Google servers, as "A" referrals.

216.239.32.21 216.239.34.21 216.239.36.21 216.239.38.21

Use of these four servers is very specific. Do not make these mistakes.


The "CNAME" to "ghs.google.com" is sufficient, for the published URL.

If you use "CNAME" referral for any host, only use one "CNAME" referral - do not add a complementary "A" or "CNAME" address, for that host.

www.mydomain.com. 3600 IN CNAME ghs.google.com.

This is all that is needed.

  • A second "CNAME" referral is not helpful - and is not supported by many registrars.
    www.mydomain.com. 3600 IN CNAME ghs.google.com.
    www.mydomain.com. 3600 IN CNAME ns1.googleghs.com.
    This is not helpful.
  • An additional "A" referral is not helpful - and is not supported by many registrars.
    www.mydomain.com. 3600 IN CNAME ghs.google.com.
    www.mydomain.com. 3600 IN A 64.233.179.121
    This is not helpful.
  • You will, however, probably need a second "CNAME" for domain ownership verification. You cannot bypass this requirement - when it is required.

If you must setup the domain yourself, instead of using "Buy a domain", learn the rules - none of them are optional. If you follow the rules, you have a much better chance of having a reliable and working domain - instead of eventually seeing the well known "Another blog ..." or "404 Server Not Found".

Comments

Admin said…
Have 3 additional "A" connections defaults from domain, did I nee to delete them or will work anyway?
Ify said…
You the man Chuck! Thanks a lot! You saved me from the asylum! :-) Full story here - http://www.blog.fizzycal.com/2014/08/blogger-vs-dns-management-and-asylum.html
Ahmad Idrus said…
Hey mister Chuck Croll thanks for the instructions.

And I have 3 questions to ask.

After I set up a custom domain, Google now is indexing ?m=0 or ?m=1 URL for its homepage and all its pages (whether the dynamic and static posts). Now I have thousands of thousands duplicate URL.

Second question is, my blogspot domain is still indexed by Google. And sometime if I deleted post in my custom domain, and remove the URL in GWT. And try to search on Google whether the URL is removed, then I find that url of my blogspot domain appears replacing the removed URL from my custom domain. Should I also remove my blogspot sub domain (example, myname.blogspot.com)?

And third question is my custom domain using www, and the naked version of the domain (without www) is also indexed by Google.

Thank you so much :d.
Chuck Croll said…
Ahmad,

Thanks for the feedback!

Each of these questions are worth asking - and they will be much easier to answer, using Blogger Help Forum: Learn More About Blogger.

I'll look for your questions, there.
MercedesLois said…
I just wanted to drop you a note to say THANK YOU SO MUCH!


After reading your post and troubleshooting, I figure out why my domain name wasn't working (I had both CNAMEs inputted)

Thanks so much,
Mercedes

Popular posts from this blog

Custom Domain Migration - Managing The Traffic

Your blog depends upon traffic for its success.

Anything that affects the traffic to your blog, such as any change in the URL, affects the success of your blog. Publishing the blog to a custom domain, like renaming the blog, will affect traffic to your blog. The effects of the change will vary from blog to blog, because of the different traffic to every different blog.Followers. People who find your blog because of recommendations by other people.Search engines. Robotic processes which methodically surf your blog, and provide dynamic indexing to people who search for information.Subscribers. People who read your content from their newsfeed reader, such as the dashboard Reading List.Viewers. People who read your content from their browser.No two blogs are the same - and no two blogs will have the same combinations of traffic sources.

Stats Components Are Significant, In Their Own Context

One popular Stats related accessory, which displays pageview information to the public, is the "Popular Posts" gadget.

Popular Posts identifies from 1 to 10 of the most popular posts in the blog, by comparing Stats pageview counts. Optional parts of the display of each post are a snippet of text, and an ever popular thumbnail photo.

Like many Stats features, blog owners have found imaginative uses for "Popular Posts" - and overlook the limitations of the gadget. Both the dynamic nature of Stats, and the timing of the various pageview count recalculations, create confusion, when Popular Posts is examined.