Automatically create sub domains for users

8 views
Skip to first unread message

Jakob

unread,
Apr 13, 2008, 7:13:53 AM4/13/08
to Google App Engine
If I connect my google app to my own domain. Are there any possibility
to programatically create sub-domains e.g. when users sign up with my
app?

BM

unread,
Apr 13, 2008, 7:47:06 AM4/13/08
to Google App Engine
You might want add a DNS entry to direct all sub-domains to an entry
point of your app, then look at the GET request to identify the domain
used. That way you can serve any sub-domain you like just y including
logic in your applicaton.

Ycros

unread,
Apr 13, 2008, 8:25:02 AM4/13/08
to Google App Engine
I'd love to do this for whole domains programmatically (imagine a
service provided through your app that your users can host at a domain
of their choice).

Jakob

unread,
Apr 13, 2008, 10:53:53 AM4/13/08
to Google App Engine
Ah, thanks BM. And that actually sounds like a fairly easy way. I will
try it.

Steve918

unread,
Apr 13, 2008, 2:13:46 PM4/13/08
to Google App Engine
Could someone explain how they are setting up DNS to accomplish this
because traditional methods of creating one CNAME/A *.example.com
record doesn't seem to work.

Steve918

unread,
Apr 13, 2008, 2:26:21 PM4/13/08
to Google App Engine
There is an open issue for this problem:

http://code.google.com/p/googleappengine/issues/detail?id=113

If someone actually has a workaround (That you have actually got to
work in App Engine) please post it in the thread above. Otherwise
please vote for this issue by 'star'ing it and leave the comment
section clean.
Reply all
Reply to author
Forward
0 new messages