Google Hosted Site: Resolving a Naked Domain

Post date: Oct 19, 2010 6:37:21 PM

I appreciate that Google provides me all these convenient and easy to use tools to host my domain, and they do it all for free. However, it has always been agitating that users could not get to my website without typing the infamous dub, dub, dub at the front. Recently, I found a way to conquer this problem, and I thought others might want to do the same. Interestingly enough, I was able to accomplish this by using another free Google tool. Blogger!

A domain without a prefix of some kind like "www." or "mail." is referred to as a "naked domain". For example:

Many people, in haste or habit, will leave off the "www" at the beginning of a web address when typing into the browser location bar (as in bullet three above), and they expect to land on the www home page of the site. Most domains are configured to send you to www.yourdomain.com even when the www is left off. With Google domain hosting (the free version anyway), there is no out-of-box way to configure this option. Therefore, you're forced to use a hack. However, it just so happens that Blogger.com, Google's free blogging application, has the ability to resolve a naked domain. So, that is what I used to train my Google hosted domain to resolve logiclander.com.

Here are the steps you can take to accomplish this for your Google hosted domain:

Illustration A:

Illustration B:

After this takes affect, typing yourdomain.com (without the dub, dub, dub) in the browser location bar will get resolved to the Google IP. Then, Google will know that the domain belongs to a blog from Blogger.com, so it will reply with a 302 redirect to nkdom.yourdomain.com. Ultimately, this is simply using your naked domain blog as a soft redirect to your www.yourdomain.com.

If you've made it this far, you're probably asking... Why doesn't google just have that same "Redirect domainname.com to nkdom.yourdomain.com" checkbox in my Google Apps domain control panel?

Good question!

Enjoy... Hope this helps.