After hours of reading about and experimenting with DNS records I can access my Google App Engine app via these URLs:
What does not work:
I want to be able to serve my app directly off my domain and not a subdomain. I've seen apps that do this. Is there any way to do this without a URL redirect?
[Update April 2016] This answer is now outdated, custom naked domain mapping is supported, see Lawrence Mok's answer.
I have figured it out!
First off: it is impossible to link something like mydomain.com
with your appspot app. This is considered a naked domain, which is not supported by Google App Engine (anymore). Strictly speaking, the answer to my question has to be "impossible". Read on...
All you can do is add subdomains pointing to your app, e.g myappid.mydomain.com
. The key to get your top level domain linked to your app is to realize that www
is a subdomain like any other!
myappid.mydomain.com
is treated exactly the same as www.mydomain.com
!
Here are the steps:
www
and click Addwww
for your domain and point to ghs.googlehosted.com
Now you have www.mydomain.com
linked to your app.
I wished this would have been more obvious in the documentation...Good luck!