Aaron Lifshin
Aaron Lifshin

Reputation: 225

Why does adding a second domain for my appengine application result in an Invalid Domain error?

I have an appengine app hosted on mylongdomain.net

I have added a second domain to my google apps account, it's a short Palestine domain: short.ps

When I try to use the admin console to add this domain to the list of URLs for my appengine app (in admin console->more controls->App engine apps->my app name under "Add new URL") I am able to select short.ps from the dropdown list of domains. However, when I try to add it as http://www.short.ps, I am unable to do so. I get the error "Invalid Domain".

My domain is verified and the CNAME record is correctly pointed to GHS.GOOGLEHOSTED.COM.

Does anyone know why I am getting Invalid Domain error and what I can do to fix it?

Thanks in advance!

Upvotes: 3

Views: 603

Answers (2)

Ramesh Lingappa
Ramesh Lingappa

Reputation: 2488

Google Apps Secondary domain currently has lot of restrictions , one of those is secondary domain are not supported in Google AppEngine, and one cannot switch primary domains too(as of now)

link to limitations for secondary domain : https://support.google.com/a/answer/182081?hl=en

the simple solution would be to add your domain as Alias to primary domain, then point it to your AppEngine app by setting appropriate CNAME, it will work (i have personally tried it)

Upvotes: 0

Aaron Lifshin
Aaron Lifshin

Reputation: 225

This appears to be a bug in the Admin console. Apps support was completely unhelpful: "we don't support the app engine apps part of the admin console".

However, setting up a second google apps account for domain short.ps and also adding the appengine app to that account seems to have done the trick.

Upvotes: 2

Related Questions