Skip to main content

Custom Domains Using 301 Redirect In DNS Setup

When you setup your Google Custom Domain, the instruction for the DNS setup is rather basic.
Add one or more "CNAME" records. Point "", and / or "", to "".
Unfortunately, not all DNS hosts support "CNAME" referrals to both the domain alias (""), and the primary domain ("").

Most DNS hosts will support CNAME referral for "". Less will support CNAME referral for "", and there's a problem. Some people will try other solutions, like Domain or URL Forwarding.

Some DNS hosts, like GoDaddy, will substitute a 301 Redirect for the primary domain, pointing it to the "www"alias.
  • Sign into GoDaddy - either directly (using a bookmark) - or through the Google Apps "Advanced DNS Settings".
  • Go to "Domains >> Details" for your domain.
    • Click on "Total DNS".
    • Under "CNAMES (Aliases)", add an entry for "www", pointing to "".
    • Click OK.
  • Go back to "Domains >> Details" for your domain.
    • Click on "Forwarding".
    • Click "Enabled".
    • For "Forward To:" enter the URL of your "www" alias, for instance "".
    • For "Redirect Type:" select "301 Moved Permanently".
    • Click OK.

Having equated "" to "" at the DNS server, you should be able to equate it in Blogger also. Use the "Advanced Settings" wizard, and select "Redirect to". If you wish to refer to "" as "", with your Blogger blog published as "" using the "Advanced Settings" wizard, you will need to do both.

A "301 Moved Permanently" redirect is an effective way of equating the primary domain to the "www" alias, in many domains. Setup properly, it is even acceptable to the search engines.

But it has to be setup properly, and at the DNS server. Setup improperly, it will only contribute to problems with your blog, and its existence as a custom domain. Some DNS hosts will not support a "301 Moved Permanently" at the server level; if that's what you face, you will have to use a "CNAME", or find another DNS host.

A 301 Redirect setup in the browser code, and run in the readers browser, will cause problems with the search engines, and with many browsers. A client side meta refresh, or JavaScript redirect, will make the search engines believe that your blog is setup as a doorway page. Some browsers may detect this as a browser hijack. Neither possibility will help you, or your readers, in the long run.

>> Top


bushan said…
i have a domain called which is registered to Godaddy. when i put my blog shows up but when i put it shows parked page of Godaddy. I want have to my blog show up when both types of url is given. So does your tip do that?
Nitecruzr said…

If "" is directed to the GoDaddy parked server, using the "301 Redirect" is probably the best way to get it to equate to "". Try it and see.
ChristianZ said…
This information actually helped me. Thanks.
Unknown said…
thank you for this post.
Shurik said…
You have been helping me since the day I purchased my domain name both here and on google forums.

On godaddy I have forwarded to (permanent 301)

and it works perfect. but when i check my site using tools like this:

They tell me that i am using a 302 temporary redirect and not 301. but i want 301 redirection please help me.

Popular posts from this blog

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.

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!! 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.