Redirecting a Google Apps domain to a blog

2

I fought with this for a few hours tonight so thought I would post it here for the hive mind.

I (perhaps foolishly) signed up for Google Apps and registered a domain name in the process. Google registers the domain with GoDaddy.com and properly sets up all the DNS records appropriately (I was happy to avoid that part). Registering for Google Apps standard is free, registering for the domain is $10/year.

For the moment, I really mostly wanted email services for this domain and don’t really care about the other Google apps services. I really wanted the domain itself to redirect to a blog hosted at WordPress (or Posterous … whatever). Those hosted sites both support buying a domain name and redirecting the name server records, but that’s not what I wanted.

Google apps / GoDaddy support adding a CNAME DNS record to point a subdomain like foo.bar.com to another site but the blog services don’t support a way to redirect the domain A record to their IP address, or at least this is non-obvious.

I eventually realized that GoDaddy support domain forwarding. If you enable domain forwarding, then GoDaddy will redirect via a 301 or 302 (permanent or temporary) your domain (http://foo.com) to your blog site (http://foo.wordpress.com). You don’t need to buy the domain service from your blog site for this.

You can also tell GoDaddy to enable domain forwarding with masking which will still show your main domain in the URL address bar. It looks like what that is doing is actually pointing some of my A records to the original site and some to the blog site.

In both the redirect and masking cases, all of the standard Google apps continue to work via the google urls like http://mail.google.com/a/foo.com, etc. However, I don’t think you’d be able to use the Google Apps web addressing to surface custom Google Sites urls. For me, that’s not a big deal. I gather there may be some SEO considerations if the identical content shows up on both sites. Not sure whether that’s real or not. I’m pretty sure I don’t care at the moment.

Comments

2 Responses to “Redirecting a Google Apps domain to a blog”
  1. David Jacobs says:

    GoDaddy’s domain forwarding (with or without masking) just requires the A record to point to GoDaddy’s nameserver. Google Sites (and calendar, docs, video, etc.) custom subdomain URLs as foo.yourdomain.com are set up with CName records pointing to ghs.google.com, which should still work regardless of the A record forwarding (if not, watch out for an asterisk host mapping).

    However, I don’t think Google Apps standard supports the subdomain URL mappings. Domain administration is part of the Premier Edition dashboard.

  2. Anand Mull says:

    Hey. Thanks a lot for the idea Alex. Just an additional tip to the readers of this blog: You don’t really need to contact the web hosting provider. Everything is accessible in the Advanced DNS link available in your Google Apps dashboard.

    Eg: I am with eNom. All I had to do was add another record type as URL Frame with the url address. For more information (if you are with eNom) have a look at http://supportcenter.custhelp.com/app/answers/detail/a_id/2

Speak Your Mind

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!