A quick guide to domain name setup on Google App Engine
Get the necessary accounts
- Make sure you have a Google App Engine app setup and note its app id from the dashboard at appspot.com.
- Register your domain name with Enom
- Get a CustomDNS service from DynDNS.
- Get a Google Apps account.
Domain configuration (Enom)
- Configure the DNS servers to point to DynDNS. Under Manage Domain → DNS Server Settings set name servers 1 - 5 to point to ns1.mydyndns.org, ns2.mydyndns.org, etc.
DNS configuration (DynDNS)
- Add four Hostnames for the naked domain (i.e., yourdomain.com without the www) and have them point to IP addresses 216.239.32.21, 216.239.34.21, 216.239.36.21, and 216.239.38.21.
- Add CNAMES for all services you want to use Google Apps for. If you just want to use your Google App Engine app, create a CNAME ("Add Alias (CNAME)") for www.yourdomain.com and point it to ghs.google.com. I also add CNAMES for all the other Google Apps (docs, mail, start, etc. as docs.yourdomain.com, mail.yourdomain.com, etc.)
- Add the following three Mail Exchangers by clicking the Edit MX List button: ASPMX.L.GOOGLE.COM, ASPMX.L.GOOGLE.COM, ALT2.ASPMX.L.GOOGLE.COM.
- Under preferences, make sure you force activate your zone.
Google Apps configuration
- In Google Apps, make sure that your Control Panel is set to "Current version" under the Domain Settings tab. This is important. Your control panel version must not be set to "Next version".
- Go to Dashboard → Add more services (the link next to the Service Settings title) and enter your Google App Engine App ID under Other Services → Google App Engine and click the Add it now button.
- On the next screen, add the following URL: temp.yourdomain.com (do not enter yourdomain.com).
- Repeat Step 2 and this time click the Add new URL link and add yourdomain.com
- Repeat Step 2, click the Add new URL link again, and add www.yourdomain.com
- Repeat Step 2, and delete temp.yourdomain.com
(Special thanks to Robert Little and Akash Xavier for the information in this section.)
Google App Engine configuration
- Sign in to your application via appspot.com.
- Click the Administration → Versions link.
- Click the Add Domain... button under the Domain Setup section
- Add yourdomain.com in the domain name box and click the Add Domain... button
That's it, having followed those -- oh, nineteen or so simple steps -- you should now have your domain setup properly for Google App Engine. Not only that but your mail and other apps should be working properly through Google Apps.
The A quick guide to domain name setup on Google App Engine article by Aral Balkan, unless otherwise expressly stated, is licensed under a Creative Commons Attribution-Noncommercial 2.0 UK: England License.
Subscribe to my blog






chrisaiv
Thank you soooooooooo much for this post.
October 17th, 2008 at 4:19 pmNick
Very helpful
February 28th, 2009 at 11:28 amI can not found this info on GAE help sites(docs, groups, blog).
Thanks a lot.
Stag do ideas man
Hi Aral,
This is really helpful. However, after using your instructions again I think Google may have changed their Apps process and you might need to add a couple of points between 10 & 11.
10a. Add domain by going to ‘Domain Settings’ tab > ‘Domain names’ > ‘Add a domain alias’. Enter yourdomain.com in the box and proceed to the verification process.
10b. After your domain name is verified (my CNAME verification took about 10mins on a domain I registered about 1.5Hrs ago!) you can move on to step 11.
BTW Step 13 doesn’t seem to be possible any more (their interface won’t allow blank, * or anything else I could think of) which is a real shame - we all love naked domains! I guess I’ll have to set up URL forwarding in my DNS which is a bit messy.
Thanks for the info.
April 14th, 2009 at 1:47 pmCheers,
James
Philip Andrew
Is this a good way to do it, I mean, will this work forever or suddenly break on me when someone changes something, like google changes something?
April 16th, 2009 at 2:08 pmPhilip Andrew
What about this ?
http://code.google.com/appengine/articles/domains.html
It lets you have a appid.domain.com where domain.com is your domain.
April 16th, 2009 at 2:12 pmIt seems to be the “google” way to do it.