1. Get a Domain Name
I usually use GoDaddy to get a domain name. They have a pretty complicated interface, but they're slowly making it better. Other people use Dreamhost or Verio, but they either require a signup fee or are too hard to use.
2. Sign up for Google Apps
There are multiple editions for Google Apps, but we'll setup the (free) Standard Edition.
- Google Apps Signup Form: Fill out the signup form, enter your domain name (e.g. "viatropos.com").
- Specify that you'll "upload an html file" in the last step of the signup process. Then just create a file
googlehostedservice.htmlat the root of your app and paste the code they give you into it.
3. Point the Google Apps to Subdomains of your Domain
First, you should manage your domain names with Zerigo. Main reasons:
- They have a very minimal interface (compare it to GoDaddy's insanely overloaded one!).
- They have the best support I have seen so far in the Rails community: they've answered all (5) of my questions within 10 minutes of me asking them, through email! Once I asked at 2am on Saturday (Sunday morning) and they responded in 5 minutes.
- It's free up to x number of requests (a good amount).
The only limitation with the free version of Zerigo: you can only have 3 sites. You can get around this (as Heroku does) by creating multiple accounts, no problem.
Add CNAME's for each of the Google Apps you want to use, looks like this:
When you've entered them all, it should look like this:
4. Register Your Website with Google Webmaster Tools
Click here: http://www.google.com/webmasters/sitemaps/ and place the following meta tag into the head of the index.html file: