Now I'm migrating my domains and hosted files to DreamHost, including mnspecialhockey.org. I was worried about that one. How do you migrate Google Apps?
Briefly, if you know the sequence to follow, the answer is -- very easily.
I've not only migrated mnspecialhockey.org, I've also added a new subdomain, files.mnspecialhockey.org to hold files (something Google doesn't really do) and I've restored the news.mnspecialhockey.org subdomain for our blogger blog (Lunarpages broke that).
The hardest part for me was understanding how things work. Once I knew that, I knew what to avoid and what to do. Understanding took a couple of days and help from DreamHost tech support; execution took minutes. (See migrating my domains and hosted files for the steps involved in switching the domain itself.)
To understand how the magic happens you have to know what 3 entities do:
- The registrar (Tucows, will be DreamHost): maintains the relationship between the domain names we type (mnspecialhockey.org) and the IP address of the name server you are using.
- The nameserver owner (DreamHost): routes all kinds of requests for web pages and services
- The web site provider (also DreamHost): provides file services, http and ftp, etc
- Google Apps for a domain: provides google apps (available only to person who can provide domain ownership)
- You can do whatever you want to the DreamHost DNS settings, but until you tell your registrar to use the ns1.dreamhost.com nameserver nothing will happen. So you can get everything ready at DreamHost, the turn it on by switching nameservers at your registrar. You can switch back to Lunarpages just as easily. It doesn't matter whether DreamHost or Tucows or Network Solutions or eNom or GoDaddy is the registrar.
- For a request for "calendar.mnspecialhockey.org" to work you need to do two things:
a. set up a rule in your nameserver provider's DNS to route all traffic for calendar.mnspecialhockey.org to ghs.google.com. This is done by a CNAME (below)
b. in your Google Apps you need to setup a custom name that exactly matches the name you created in the CNAME.
When I enter "calendar.mnspecialhockey.org" in my browser, the Internet's DNS system first "asks" where to route the request. The registrar for mnspecialhockey.org knows to send all domain traffic DreamHost nameservers - because I told it to use those nameservers.
So the request for calendar.mnspecialhockey.org effectively goes to Google. On the other hand fubar.mnspecialhockey.org, for example, would have to be handled by DreamHost.
When Google gets this transaction it sees it's a request for "calendar.mnspecialhockey.org". It matches this request against the custom URL I assigned my Google Apps calendar through my Google Apps Dashboard, and it renders the correct calendar.
Ok, if you understand all of the above then you're ready to understand how I migrated mnspecialhockey.org, and its related Google Apps services, from Lunarpages to DreamHost. You may also see why Google Apps are so loosely related -- they are really only bound together at the DNS level.
In this case everything was already setup on the Google Apps side, including using Google's now obsolete Page Creator to manage our web pages.
I just had to setup the DNS at DH so it had the right CNAME settings to direct traffic and handle mail. These are totally generic, the traffic gets routed to the right Google Apps because of the matching domain names, not because of anything special in this table.
- I used DreamHost's "fully host domain at Google Apps" first. That created almost all the CNAME and MX (mail exchange, see DNS record types) settings in the above image.
- I manually added the CNAME entry of "news.mnspecialhockey.org". I'd made a corresponding change in a Blogger blog, publishing it to "news.mnspecialhockey.org".
- I changed the nameserver settings at my registrar (Tucows at the moment) to the ns1.dreamhost.com, etc settings.
I wanted one more thing though. I wanted a place to store files -- something Google Apps does very poorly.
That was easy too. At DreamHost I created a subdomain of files.mnspecialhockey.org.
I configured that subdomain so anyone entering "www.files.mnspecialhockey.org" would go to "files.mnspecialhockey.org" (a DH configuration setting).
So now I had my files section -- with FTP services too.
It took a while to understand this, and a bit of time to write it up, but not time at all to do it. DreamHost tech support was very helpful, though they did have to correct themselves a couple of times.