If you're going to setup a Google Custom Domain, you have to
start with DNS properly setup. In most cases, you will want the "www" alias, as well as the rest of the domain, to refer to Google. This requires you to properly use the setup procedures provided by your DNS Host, as a complement to the facilities provided by Google.
NOTE: This case study shows how a Custom Domain was setup, in the early days. A much more comprehensive tutorial can be found in
Your Blog, Custom Domains, And Righteous Solutions. You may examine the illustrations below, for background, but the correct configuration is described in the latter article.
This case study uses my church website, martinezumc.org, with
DNS service provided by GoDaddy. So, I logged in to the GoDaddy control panel, and followed the
Google GoDaddy instructions (instructions for other hosting services are also in that document). Steps 1 - 4 were on target. So, I document below Steps 5 - 7 of the instructions, which became my steps 1 - 8.
Note that GoDaddy is simply the example that I use here. Blogger provides
How do I create a CNAME record for my custom domain?, which provides instructions for half a dozen different popular DNS Hosting companies. This case study describes
my personal experince, with my custom domain. From what I've seen, you should
be persistent and resourceful, when setting up
your custom domain.
Step 1
The Default GoDaddy Settings
Here we see all DNS entries created by GoDaddy, when "martinezumc.org" was setup originally. All entries point to GoDaddy, using an "A" record equating "@" (the domain root) to "68.178.232.100".
Step 2
Just 2 Quick Changes
- I deleted the "A" record pointing the domain to GoDaddy.(See Note 2, below)
- I added a "CNAME" record equating "www" to "ghs.google.com".
For more detail about DNS records, see PCMagazine
Definition of: DNS records, or FAQs.Org:
How DNS Works.
(Note 1): This example is for a domain setup for the ".org" TLD, and using GoDaddy as the registrar. All experience so far indicates that the different TLDs (.com, .info, .net, .org, ...), and the different registrars (like GoDaddy) have different rules. Be careful here, and ask questions in
Blogger Help Group: How Do I?, if anything here is not completely clear to you. We are still learning the details, and I suspect Blogger staff is too. If you have any doubt about the effectiveness of your DNS setup, execute
Step7 below, and proceed only when you get similar results.
(Note 2): If you have an existing website with other content, and just want to add the blog as "blog.mydomain.com", don't delete the "A" record. Just add a "CNAME" record equating "blog" to "ghs.google.com".
Step 3
I Setup Blog Publishing
I went into Settings - Publishing for the blog currently published at "martinezumc.blogspot.com", selected "Switch to: Custom Domain", and set it to publish to "martinezumc.org". Note that it clearly warns us
martinezumc.blogspot.com will redirect to your custom domain.
with no mention of www.martinezumc.blogspot.com. This makes it unlikely that we should
expect "www.martinezumc.org" to work.
Step 4
I Tested martinezumc .org
Success!
Step 5
I Tested www .martinezumc .org
Here we see just what I predicted, in
Step 3, above.
Step 7And to verify the GoDaddy setup (and diagnose the
404), a simple
set of ping tests.
C:\>ping martinezumc.org
Pinging ghs.l.google.com [64.233.179.121] with 32 bytes of data:
Reply from 64.233.179.121: bytes=32 time=94ms TTL=242
Reply from 64.233.179.121: bytes=32 time=92ms TTL=242
Reply from 64.233.179.121: bytes=32 time=94ms TTL=242
Reply from 64.233.179.121: bytes=32 time=94ms TTL=242
Ping statistics for 64.233.179.121:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 92ms, Maximum = 94ms, Average = 93ms
C:\>ping www.martinezumc.org
Pinging ghs.l.google.com [66.249.81.121] with 32 bytes of data:
Reply from 66.249.81.121: bytes=32 time=94ms TTL=242
Reply from 66.249.81.121: bytes=32 time=93ms TTL=242
Reply from 66.249.81.121: bytes=32 time=93ms TTL=242
Reply from 66.249.81.121: bytes=32 time=96ms TTL=242
Ping statistics for 66.249.81.121:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 93ms, Maximum = 96ms, Average = 94ms
And
there is a demonstration of the dynamic name resolution of "ghs.google.com".
- 64.233.179.121
- hs-in-f121.google.com
- 66.249.81.121
- bx-in-f121.google.com
And, seeing as "www.martinezumc.org" resolves properly, in this example to "66.249.81.121", we can conclude that
the 404 above is coming from Google, not GoDaddy.
The host named "ghs.google.com" is a
load balanced server array. It's provided to give your readers the best performance possible, when visiting your blog.
And, last but by no means least, the
DNS Report for "martinezumc.org".
And with DNS Referral setup and verified in
Step7 above, continue by
setting up the blog itself.
Note: The above case study describes my personal experience. There are multiple bloggers, setting up blogs with different TLDs (.com, ,net, .org are simply 3 examples), using multiple DNS hosts. From what I've seen, you should
be persistent and resourceful, when setting up your custom domain.
>> Top