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
Nagib 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.
Nitecruzr 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.
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

What's The URL Of My Blog?

We see the plea for help, periodically I need the URL of my blog, so I can give it to my friends. Help! Who's buried in Grant's Tomb, after all? No Chuck, be polite. OK, OK. The title of this blog is "The Real Blogger Status", and the title of this post is "What's The URL Of My Blog?".

Add A Custom Redirect, If You Change A Post URL

When you rename a blog, the most that you can do, to keep the old URL useful, is to setup a stub post , with a clickable link to the new URL. Yo! The blog is now at xxxxxxx.blogspot.com!! Blogger forbids gateway blogs, and similar blog to blog redirections . When you rename a post, you can setup a custom redirect - and automatically redirect your readers to the post, under its new URL. You should take advantage of this option, if you change a post URL.

Adding A Link To Your Blog Post

Occasionally, you see a very odd, cryptic complaint I just added a link in my blog, but the link vanished! No, it wasn't your imagination.